multi-threading causing database exceptions

classic Classic list List threaded Threaded
1 message Options
Tammy Dugan Tammy Dugan
Reply | Threaded
Open this post in threaded view

multi-threading causing database exceptions

When I try to execute my AOP calls in separate threads, I get the
following error:

java.sql.BatchUpdateException: Deadlock found when trying to get lock;
try restarting transaction

Am I just overloading the number of available connections?




To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to [hidden email] with "SIGNOFF openmrs-devel-l" in the  body (not the subject) of your e-mail.

[mailto:[hidden email]?body=SIGNOFF%20openmrs-devel-l]