Beginner |
|
Joined: Thu Sep 08, 2005 9:24 pm Posts: 20 Location: Boise Idaho
|
I've been googling and searching around and can't find a clear example of how to retrieve the id of the last record inserted after using the Session.save() method...I know this must be simple, how is this done? I noticed it is selecting the identity when I view the sql output...would I have to query the session again to get it?
Please provide an example or a link to where this is found in the documentation, I could not find it.
I'm using Hibernate 3.0.5
Thanks!
|
|