This content has been marked as final.
Show 2 replies
-
1. Re: Maintain consistency with optimistic locking transactions
galder.zamarreno Jul 5, 2012 8:49 PM (in response to lvella)Hmmm, are you suggesting that even if the transaction rollbacks, the cache contains a list? That should not happen, and if it is, please open a JIRA in http://issues.jboss.org/browse/ISPN
-
2. Re: Maintain consistency with optimistic locking transactions
lvella Jul 5, 2012 11:34 PM (in response to galder.zamarreno)I found this very related bug reported:
https://issues.jboss.org/browse/ISPN-1345
The symptoms are the same, but the steps to get it were different. They are all caused by reusing internal mutable object reference between separated uncommited transactions.
It seems I'll have to clone the mutable objects myself just after get().