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

Solution Unverified - Updated -

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>
    

Environment

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

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In