JPA does not support recovery of the persistence context when a txn fails.
You should always end the conversation after you fail to access the database. Otherwise
you can be left with inconsistent state b/w memory and the database.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025871#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...