This discussion is archived
12 Replies Latest reply: Nov 20, 2012 9:17 PM by RanjithChitharanjan RSS

inserting values into multiple tables in one jsf page with single commit op

M vijayalakshmi Newbie
Currently Being Moderated
hi all,

i have two tables ,

one is parent table and other is child record.

record details:

table1:(parent table)

emplid (primary key)

empl_name

table 2:(child table)

empl id ( Foreign key)

empl_name ( Foreign key)

contact_no (primary key)

my senario is , i need insert values into both parent and child table in one save option.

and both the tables will be in one jsf page.

is this possible to do?


thanks all,

regards,

M vijayalakshmi

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points