Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2517

Incorrect the time unit of query timeout value.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0, 2.2.1, 2.2.2, 2.3.0
    • Fix Version/s: 2.2.3, 2.4.1
    • Component/s: jdbc
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      The value of the "javax.persistence.query.timeout" property have been passed to the java.sql.Statement.setQueryTimeout(int) in milliseconds rather than seconds.

      The query timeout milliseconds should be converted to seconds.

        Attachments

        1. OPENJPA-2517.patch
          0.9 kB
          Masafumi Koba
        2. OPENJPA-2517-2.2.x.patch
          4 kB
          Heath Thomann
        3. openjpa-querytimeout-bug.zip
          6 kB
          Masafumi Koba
        4. openjpa-querytimeout-working.zip
          6 kB
          Heath Thomann

          Activity

            People

            • Assignee:
              jpaheath Heath Thomann
              Reporter:
              mskb Masafumi Koba
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: