Details
Description
Narrowing SQL Exception to a more specific exception such as lock or query or referential integrity violation does not distinguish correctly whether a query or lock request has timed out.
This distinction is critical for JPA 2.0 spec compliance because QueryTimeOut and LockTimeOut exceptions are not supposed to cause rollback as per the spe (Section 3.9).
Attachments
Issue Links
- is related to
-
OPENJPA-991 Implement LockTimeout using db specific server-side lock timeout feature
- Reopened
- relates to
-
OPENJPA-1594 Tests not handling new QueryTimeOut and LockTimeOut exceptions correctly
- Closed
-
OPENJPA-1609 PessimisticLockException instead of LockTimeoutException thrown on DB2V9 for ZOS
- Closed
-
OPENJPA-1614 Testcase failures in TextException on MSSQL
- Closed