Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1311769

Summary: [GSS](6.4.z) HHH-10563 - Significant String use/duplication associated with subselect fetch
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Stephen Fikes <sfikes>
Component: HibernateAssignee: Gail Badner <gbadner>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Simka <msimka>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4.7CC: bbaranow, bmaxwell, chaowan, gbadner, jawilson, jbilek, jtruhlar, msimka, smarlow
Target Milestone: CR1   
Target Release: EAP 6.4.8   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-17 12:32:17 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: 1279553, 1315479    

Description Stephen Fikes 2016-02-24 23:46:57 UTC
Description of problem:

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

Comment 4 Gail Badner 2016-03-08 06:54:57 UTC
I've pushed the fix upstream. There are 2 commits:

The first adds logging that shows each time that the subselect fetch query fragment is created:
https://github.com/hibernate/hibernate-orm/commit/8fb8a158d3cebc979fdb6bfd127279cb84084802

The second commit is the fix:
https://github.com/hibernate/hibernate-orm/commit/0d5c35cdbc99d871515d9ed33d4d658fc2726253

In order to reproduce and verify the fix:
1) revert the second commit;
2) enabling trace logging for org.hibernate.engine.spi.SubselectFetch;
3) execute hibernate-core unit tests;
4) grep the hibernate-core test results for "SubselectFetch query" and note the number of occurrences;
5) apply the 2nd commit;
6) grep the hibernate-core test results for "SubselectFetch query" and note the number of occurrences; there should be about 1/4 as many occurrences.

Comment 5 Jiří Bílek 2016-05-17 14:03:44 UTC
Verified with EAP 6.4.8.CP.CR2

Comment 6 JBoss JIRA Server 2016-05-24 10:40:13 UTC
Carlo de Wolf <cdewolf> updated the status of jira JBEAP-3708 to Resolved

Comment 7 JBoss JIRA Server 2016-08-23 11:38:32 UTC
Jiri Pallich <jpallich> updated the status of jira JBEAP-3708 to Closed

Comment 8 Petr Penicka 2017-01-17 12:32:17 UTC
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.