Change transaction for EJB to "TX_NOT_SUPPORTED" and transaction isolation to "TRANSACTION_SERIALIZABLE".
Be sure that ALL your code opens and closes connections, statement, resultsets etc. in the right order.
Also use commit and rollback the proper way.
The above works on...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.