This content has been marked as final.
Show 2 replies
-
1. Re: optimistic lock occured and the transaction rolled back.
wdfink Nov 18, 2015 7:38 AM (in response to sai12345)Could you explain a bit more how your application look like and what version of JBoss you use exact, also where the Optimistic Lock is from.
I suppose you use EJB2 or JPA?
In general an OptimisticLock Exception is thrown if you change data concurrent to ensure consistency.
So in case of such problem you can simple retry the invocation.
-
2. Re: optimistic lock occured and the transaction rolled back.
sai12345 Nov 25, 2015 1:40 AM (in response to wdfink)We are using jboss version "jboss-as-7.1.0.Final"