|
|
|
Re: ConcurrencyException throwed [message #1749953 is a reply to message #1749511] |
Wed, 14 December 2016 06:06  |
Eclipse User |
|
|
|
Finally, after six months of headaches, I managed to solve the problem.
The general error was EclipseLink-2004. If you check Eclipselink error reference: Eclipse link error reference page, it says "Verify transactions in the application".
I've been using a application managed Entity Managers. To control that transactions were single-thread I used this ManagerHelper class:
EntityManagerHelper
The problem was that I was putting a managed object inside a Session attribute. I don't really understand the process inside, but somehow it created new transactions outside the main transaction if it was used to query. Moving the object to Request attributes solved the problem.
I hope this helps to someone in the future.
Best regards
|
|
|
Powered by
FUDForum. Page generated in 0.05177 seconds