Bug 1387262 - [GSS] (6.4.z) HHH-11182 - HQL subquery with constraint property in superclass does not join superclass table
Summary: [GSS] (6.4.z) HHH-11182 - HQL subquery with constraint property in superclass...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Hibernate
Version: 6.4.11
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: CR1
: EAP 6.4.12
Assignee: Gail Badner
QA Contact: Martin Simka
URL:
Whiteboard:
Depends On:
Blocks: 1373627 eap6412-payload
TreeView+ depends on / blocked
 
Reported: 2016-10-20 13:33 UTC by Stephen Fikes
Modified: 2019-12-16 07:10 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-17 13:14:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBEAP-6532 0 Major Verified [GSS] (7.1.0) HHH-11182 HQL subquery with constraint property in superclass does not join superclass table 2017-08-17 02:52:08 UTC
Red Hat Issue Tracker JBEAP-6533 0 Major Verified [GSS] (7.0.z) HHH-11182 - HQL subquery with constraint property in superclass does not join superclass table 2017-08-17 02:52:08 UTC
Red Hat Knowledge Base (Solution) 2772231 0 None None None 2016-11-17 22:31:19 UTC

Description Stephen Fikes 2016-10-20 13:33:06 UTC
Description of problem:

https://hibernate.atlassian.net/browse/HHH-11182

Incorrect SQL generated when an EXISTS subquery references superquery paths


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Gail Badner 2016-10-21 22:12:17 UTC
Upstream commit: https://github.com/hibernate/hibernate-orm/commit/f2447bce33f5d5323eb369c11352c5c344bc510d

Internal commit: http://git.app.eng.bos.redhat.com/git/hibernate/hibernate-core.git/commit/?id=f2447bce33f5d5323eb369c11352c5c344bc510d

Note: commit comment says "Add test for issue". This is actually a squashed commit that includes both the test and the fix.

Comment 2 Jiří Bílek 2016-11-04 09:01:13 UTC
Verified with EAP 6.4.12.CP.CR1

Comment 3 Petr Penicka 2017-01-17 13:14:29 UTC
Retroactively bulk-closing issues from released EAP 6.4 cummulative patches.

Comment 4 Petr Penicka 2017-01-17 13:15:00 UTC
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.


Note You need to log in before you can comment on or make changes to this bug.