OpenJPA
  1. OpenJPA
  2. OPENJPA-1565

QueryTimeOut and LockTimeOut exceptions are not raised correctly

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-M1, 2.0.0-M2, 2.0.0-M3, 2.0.0-beta, 2.0.0-beta2
    • Fix Version/s: 2.0.0-beta3
    • Component/s: jdbc, jpa, kernel, query, sql
    • Labels:
      None

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

        Issue Links

          Activity

          Donald Woods made changes -
          Link This issue relates to OPENJPA-1609 [ OPENJPA-1609 ]
          Donald Woods made changes -
          Link This issue relates to OPENJPA-1614 [ OPENJPA-1614 ]
          Donald Woods made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Donald Woods made changes -
          Fix Version/s 2.0.0-beta3 [ 12314857 ]
          Fix Version/s 2.0.0 [ 12314019 ]
          Donald Woods made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Donald Woods made changes -
          Link This issue relates to OPENJPA-1594 [ OPENJPA-1594 ]
          Donald Woods made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Pinaki Poddar made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Pinaki Poddar made changes -
          Link This issue is related to OPENJPA-991 [ OPENJPA-991 ]
          Donald Woods made changes -
          Field Original Value New Value
          Fix Version/s 2.0.1 [ 12314532 ]
          Fix Version/s 2.1.0 [ 12314542 ]
          Pinaki Poddar created issue -

            People

            • Assignee:
              Pinaki Poddar
              Reporter:
              Pinaki Poddar
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development