TransactionRequiredException on OptimisticLockException
- by João Madureira Pires
Hi there.
I have the following class that generates sequencial Card Numbers.
I'm trying to recover from OptimisticLockException, by calling recursively the same method. however, i'm getting TransactionRequiredException. Dows anyone knows how to recover from OptimisticLockException in my case?
Thanks a lot in advance
…