Hi,

I have a page where I capture DEPT and EMP data. On click of a button
I want to save DEPT record and all the EMP records with ID of newly
created DEPT as a parent. I use FDS, hibernate and db generated IDs.
The problem I am facing is how do I get the ID of DEPT record created
by createitem() and access it to assign this DEPT as a parent of EMP
records that I want to create? If I examine ID of dept object used in
createitem after FDS commit(), it is still 0. Appreciate your help.

Reply via email to