12 Replies Latest reply on Nov 21, 2012 5:17 AM by Ranjith Chitharanjan

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

    M Vijayalakshmi
      hi all,

      i have two tables ,

      one is parent table and other is child record.

      record details:

      table1:(parent table)

      emplid (primary key)


      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,


      M vijayalakshmi