Home » Developer & Programmer » JDeveloper, Java & XML » Confuse with TopLink (JDev 10.1.3.3)
Confuse with TopLink [message #355151] Wed, 22 October 2008 22:27
callme_harry
Messages: 8
Registered: October 2008
Location: Jakarta, Indonesia
Junior Member

Hi,


I have a question with TopLink.

Here is my story step by step,
1. I have existing database so i just used "Create Java Objects from Table Wizard" in wizard i do the following
-. I created top link map named tlMap1 using my connection
-. I select 3 table : employee, department, bank and click finish
-. TopLink and POJO generated

2. I edit TopLink to add query findEmployeeById, findDepartmentById, findBankById

3. I generate session beans

4. I create data control from session beans

5. So far its okay, but than i realize in my database i FORGOT to define FOREIGN KEY relation between department and employee table.

Thats my story and my question is how can we fix that problem with minimal effort since i already had pojo (see step 1), custom query in toplink map (see step 2), session beans (see step 3) and data control (step 4).

FYI : I using JDev 10.1.3.3

[Updated on: Wed, 22 October 2008 22:43]

Report message to a moderator

Previous Topic: XML DB Comparison
Next Topic: Add "attachment region" (merged 3)
Goto Forum:
  


Current Time: Sun Nov 24 01:02:19 CST 2024