Datasource set-tx-query-timeout setting does not work since JBoss EAP 7.1.0

Solution Unverified - Updated

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.1.0 or later

Issue

  • Datasource set-tx-query-timeout setting does not work since JBoss EAP 7.1.0.

  • I configured set-tx-query-timeout in datasource setting in EAP 7.1.0 but Statement.setQueryTimeout() is never invoked. This parameter worked in EAP 7.0.x but it does not work in EAP 7.1.0:

                  <timeout>
                      <set-tx-query-timeout>true</set-tx-query-timeout>
                  </timeout>
    

Resolution

This is a bug reported in the following JIRAs. This will be fixed in JBoss EAP 7.1.5 or later:

Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.