openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leoisiah <leois...@yahoo.com>
Subject Re: Persist on the same object fails after rollback
Date Thu, 29 Apr 2010 03:50:20 GMT

Maybe, instead of calling EntityManager.rollback(), call
EntityManager.refresh() then EntityManager.commit(). That worked for me.
-- 
View this message in context: http://openjpa.208410.n2.nabble.com/Persist-on-the-same-object-fails-after-rollback-tp4936326p4978206.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message