Hello,
in this topic
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=98478 the
question of what is the proper (specification compliant) way to check if an entity has
been persisted was raised.
And here
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2439 is stated that
anonymous wrote : checking non-null identifier value being available on an entity instance
if its in persistent state
is at least anonymous wrote : relying on questionable behavior
but I didn't see any alternative approach suggested, so I'm asking for the safe
way to verify persistent state of an entity.
regards
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114022#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...