Home » Developer & Programmer » JDeveloper, Java & XML » How to persist into 2 or more table (JDev 10.1.3.3)
How to persist into 2 or more table [message #357376] Wed, 05 November 2008 01:53
callme_harry
Messages: 8
Registered: October 2008
Location: Jakarta, Indonesia
Junior Member

Hi,


So far in tutorial or article i learned only cover persist to one table only.
It's easy with ADF Data Control to make a form from Data Control and persist into database if only 1 table.

But what about if in my form require to save more than 2 table.

For example i have a single page JSF form contain 3 section : company, contact person, and complaint. And 1 button to save/persist.

When user click save button, it will save into 3 table : company, contact person with company id as FK, complaint as company id and contact person id as FK.

FYI : I'm using JDev 10.1.3 and EJB/TopLink as Business Service.

Thanks in advance.
Previous Topic: error: java.lang.IndexOutOfBoundsException: SelectOne submittedValue's index 14 is out of bounds. It
Next Topic: XMLType use in WebSphere
Goto Forum:
  


Current Time: Fri Mar 29 07:21:35 CDT 2024