Bug 998841

Summary: Permanent fix of HHH-8447 (HQL delete with multiple subqueries failing (incorrect alias used))
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Adam Kovari <akovari>
Component: HibernateAssignee: Brett Meyer <brmeyer>
Status: CLOSED CURRENTRELEASE QA Contact: Zbyněk Roubalík <zroubali>
Severity: unspecified Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.1.0CC: cedric.gerard, lcosti, nobody, theute
Target Milestone: ER1   
Target Release: EAP 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
If a HQL delete query contained multiple subqueries, only the first subquery would use the correct root table alias. The generated SQL for the other subqueries would use an incorrect alias. This issue was caused by improper processing of multiple subqueries when generating the SQL query. This issue has been fixed in this release of JBoss EAP 6 so that HQL delete queries with multiple subqueries will now use the correct root table alias when generating SQL for all subqueries.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-15 16:21:33 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: 999686    

Description Adam Kovari 2013-08-20 07:59:56 UTC
Description of problem:
https://hibernate.atlassian.net/browse/HHH-8447

Version-Release number of selected component (if applicable):
EAP 6.1.0

Comment 1 Zbyněk Roubalík 2013-09-23 11:32:06 UTC
EAP 6.2.0.ER1