How to persist into 2 or more table [message #357376] |
Wed, 05 November 2008 01:53 |
|
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.
|
|
|