Hibernate SQLQuery#executeUpdate() does not regard SQLQuery#setTimeout() and does not invoke Statement#setQueryTimeout()
Issue
- Hibernate
SQLQuery#executeUpdate()does not regardSQLQuery#setTimeout()and does not invokeStatement#setQueryTimeout(). - As far as I tested,
Statement#setQueryTimeout()is invoked when executingSQLQuery.list()andQuery.executeUpdate()works fine but it's not invoked when executingSQLQuery.executeUpdate().
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
- 7.x
- Hibernate
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.
