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.
- [flexcoders] FDS createItem - how to find ID of ins... sunilpatel_10
- RE: [flexcoders] FDS createItem - how to find ... Stembert Olivier (BIL)
- [flexcoders] Re: FDS createItem - how to f... sunilpatel_10
- RE: [flexcoders] Re: FDS createItem - ... Jeff Vroom
- [flexcoders] Re: FDS createItem - ... sunilpatel_10
- [flexcoders] Re: FDS createItem - how to f... sunilpatel_10
- Re: [flexcoders] Re: FDS createItem - ... Mikey
- [flexcoders] Re: FDS createItem - ... sunilpatel_10