Bug 1311769 - [GSS](6.4.z) HHH-10563 - Significant String use/duplication associated with subselect fetch
Summary: [GSS](6.4.z) HHH-10563 - Significant String use/duplication associated with s...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Hibernate
Version: 6.4.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: CR1
: EAP 6.4.8
Assignee: Gail Badner
QA Contact: Martin Simka
URL:
Whiteboard:
Depends On:
Blocks: eap648-payload 1315479
TreeView+ depends on / blocked
 
Reported: 2016-02-24 23:46 UTC by Stephen Fikes
Modified: 2019-10-10 11:19 UTC (History)
9 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBEAP-3708 0 Major Closed [GSS] (7.0.z) HHH-10563: Significant String use/duplication associated with subselect fetch 2017-03-22 14:03:22 UTC
Red Hat Knowledge Base (Solution) 2191791 0 None None None 2016-03-07 21:54:06 UTC

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.


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