JDBC query-timeout does not work with MySQL in JBoss

Solution Verified - Updated -

Issue

We are trying to set query-timeout for one of the MySQL datasources, however it does not work with MySQL. query-timeout seems to be working for Oracle DB.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.2

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.