What qualifies as being "already persistent"?
Does that mean an entity whose equals() test returns true, or does it look at the @Entity
definition at the Id and/or @Column(unique=true) fields only?
Also, does it drill down to the actual database layer at insertion time for tables with
unique constraints but no corresponding annotation defined on the entity? Or does that
come back as a different kind of error?
I haven't seen this documented anywhere, so I'm wondering...
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994830#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...