This content has been marked as final.
Show 1 reply
-
1. Re: Conversational PersistenceContext + Rollback = cleared Persistence Context
youngm Feb 24, 2009 10:28 PM (in response to youngm)Well, it's not a Hibernate bug (JPA Specification 3.3.2) specifies that when a transaction is rolled back JPA should clear it's persistence context.
So this begs the question what is the Seam best practice in this situation? Try to never rollback a transaction and if you do make sure you save your entity and somehow merge it back into the new persistence context? Seems like kind of a pain.
Mike