12 Replies Latest reply: Nov 20, 2012 11:17 PM by Ranjith Chitharanjan RSS

    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