This is really turning into a Hibernate question. Your entity should have an identifier
after you call persist(o), no matter where as long as you have a sequence-style generator.
I recommend enabling the Hibernate DEBUG log and posting on the Hibernate forum.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045197#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...