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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content