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

Incorrect the time unit of query timeout value.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0, 2.2.1, 2.2.2, 2.3.0
    • 2.2.3, 2.4.1
    • jdbc
    • None
    • 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-2.2.x.patch
          4 kB
          Heath Thomann
        2. openjpa-querytimeout-working.zip
          6 kB
          Heath Thomann
        3. OPENJPA-2517.patch
          0.9 kB
          Masafumi Koba
        4. openjpa-querytimeout-bug.zip
          6 kB
          Masafumi Koba

        Activity

          People

            jpaheath Heath Thomann
            mskb Masafumi Koba
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: