Try calling super.flush() to get the object persisted. On Sep 30, 2010, at 12:43 AM, itsdipak wrote:
> > I m using Hibernate.. > but the id value is null if i try to get id as you said.. > please help me out.... > :-( > -- > View this message in context: > http://appfuse.547863.n4.nabble.com/Get-id-of-newly-inserted-record-tp2720150p2720252.html > Sent from the AppFuse - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net > For additional commands, e-mail: users-h...@appfuse.dev.java.net > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net