Uploaded image for project: 'IronJacamar'
  1. IronJacamar
  2. JBJCA-829

Cannot enable setQueryTimeout when query-timeout set in datasource configuration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.12.Final, 1.1.0.Beta1
    • 1.0.11.Final, 1.1.0.Alpha7
    • JDBC
    • None

      The Statement#setQueryTimeout in customer application cannot be enabled when the query-timeout set in datasource configuration.
      The WrappedPreparedStatement#checkConfiguredQueryTimeout is called in the Statement#execute timing and the query-timeout value is set to the Statement#setQueryTimeout. Therefore, the setQueryTimeout value set by customer application before the Statement#execute does not become effective.

              jpederse@redhat.com Jesper Pedersen
              rhn-support-enagai Eiichi Nagai (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: