Is there any way to continue to use the EntityManager after encountering an OptimisticLockException? I'm flushing the EntityManager explicitly in my session bean within a try/catch block where I'm catching OptimisticLockException. In that catch block, I wanted to make one last read using the EntityManager but it complains that the transaction is no longer active. If I'm explicitly checking for and catching/handling the exception, shouldn't I be able to continue using the EntityManager? Is there any way to get this to work?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993474#3993474 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993474 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user