WAS v8.5 > Troubleshoot > Troubleshooting EJB applications > Troubleshooting JPA applications

Troubleshooting JPA deadlocks and transaction timeouts

Database deadlocks and transaction timeouts are the result of contention between two or more clients attempting to access the same database resource. Deadlock is a special case where a circular blocking condition between two or more clients, each blocked by the others, but no one can proceed. Usually these phenomena are not programming errors. They are caused by business logic accessing database resources in a complex and inter-depending fashions. By using the following best practices and strategies, these conditions can be minimized.


Results

For more information, review the Apache OpenJPA User Guide.


Related concepts:

Programming interfaces


Related


Use JPA access intent


Reference:

Extensions to data access APIs


Related information:

Apache OpenJPA User Guide

Apache OpenJPA User Guide: Lock Manager

Apache OpenJPA User Guide: Transaction Isolation


+

Search Tips   |   Advanced Search