QueryTimeOut and LockTimeOut exceptions are not raised correctly
----------------------------------------------------------------

                 Key: OPENJPA-1565
                 URL: https://issues.apache.org/jira/browse/OPENJPA-1565
             Project: OpenJPA
          Issue Type: Bug
          Components: jdbc, jpa, kernel, query, sql
    Affects Versions: 2.0.0-beta2, 2.0.0-beta, 2.0.0-M3, 2.0.0-M2, 2.0.0-M1
            Reporter: Pinaki Poddar
            Assignee: Pinaki Poddar
             Fix For: 2.0.0, 2.0.1, 2.1.0


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



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to