Bug 1508697
| Summary: | Hibernate SQLQuery#executeUpdate() does not invoke Statement#setQueryTimeout() | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Masafumi Miura <mmiura> | ||||||
| Component: | Hibernate | Assignee: | Gail Badner <gbadner> | ||||||
| Status: | CLOSED EOL | QA Contact: | Pavel Slavicek <pslavice> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 6.4.17 | CC: | gbadner, msimka, smarlow | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2019-08-19 12:44:14 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Masafumi Miura
2017-11-02 00:58:28 UTC
Created attachment 1346824 [details]
a proposed patch for NativeSQLQueryPlan
It looks org.hibernate.engine.query.spi.NativeSQLQueryPlan#performExecuteUpdate() misses calling "Statement#setQueryTimeout(). I attached a possible proposed patch for this.
Same issue exists in EAP 7.x, so the following JBEAP JIRAs are opened: - 7.1.z: https://issues.jboss.org/browse/JBEAP-13683 - 7.0.z: https://issues.jboss.org/browse/JBEAP-13684 Also Hibernate JIRA is opened: - https://hibernate.atlassian.net/browse/HHH-12075 |