Bug 977520
Summary: | HHH-8318 "delete" with "member of" query fails | ||
---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | csams |
Component: | Hibernate | Assignee: | Brett Meyer <brmeyer> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.1.0 | CC: | brmeyer, jawilson, lcosti, myarboro, pgier, pslavice, rsvoboda, theute, zroubali |
Target Milestone: | ER1 | ||
Target Release: | EAP 6.2.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
An bug in the conversion of HQL `delete` queries that contained a `member of` clause would result in incorrect SQL being generated. As a result, the incorrect SQL delete query would fail. This issue was caused by the `member of` subquery using an incorrect alias.
This issue has been fixed in this release of JBoss EAP 6 by making `member of` subqueries use the correct alias when used as part of a HQL `delete` query, and as a result, will now produce correct SQL.
|
Story Points: | --- |
Clone Of: | Environment: |
JBoss EAP 6.1, Hibernate Core 4.2.0
|
|
Last Closed: | 2013-12-15 16:19:26 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: | |||
Bug Depends On: | |||
Bug Blocks: | 977522, 999686, 1065062 |
Description
csams
2013-06-24 19:08:28 UTC
There was one-off patch for EAP 6.1.0 [1] to fix this issue. It must be included into EAP 6.1.1 to have all one-offs covered Reseting jboss-eap-6.1.1 flag to '?' to evaluate it again. [1] https://bugzilla.redhat.com/show_bug.cgi?id=977522#c9 EAP 6.2.0.ER1 |