Network Deployment (Distributed operating systems), v8.0 > Troubleshoot and support > Troubleshoot EJB applications > Troubleshoot JPA applications


Troubleshoot 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.


Procedure


Results

For more information, review the Apache OpenJPA User Guide.
Use JPA access intent
Task overview: Storing and retrieving persistent data with the JPA API


Related


Extensions to data access APIs
Apache OpenJPA User Guide
Apache OpenJPA User Guide: Lock Manager
Apache OpenJPA User Guide: Transaction Isolation
Program interfaces

+

Search Tips   |   Advanced Search