Using Statement#setQueryTimeout(int) on application does not become effective in JBoss EAP 5
Issue
Using Statement#setQueryTimeout(int) in an application does not become effective when the <query-timeout> setting is configured in the Datasource configuration in JBoss. How can I set query timeout programmatically and overwrite database configuration?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 5.1.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
