Please post the code where you doing the insert and also the later part where this throws
the exception that you posted. Looks like after the insert fails with an exception, the
transaction is marked for rollback and i guess even after the exception occurs, the code
is trying to operate using the entitymanager.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122969#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...