Bug 1158498

Summary: [QE] (6.4.0) [HHH-9461] Cannot enable NamingStrategyDelegator implementations using entity manager
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Martin Simka <msimka>
Component: HibernateAssignee: Gail Badner <gbadner>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Simka <msimka>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: cdewolf, kkhan, msimka, smarlow
Target Milestone: DR11   
Target Release: EAP 6.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1158502 (view as bug list) Environment:
Last Closed: 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: 1121629, 1158502    

Description Martin Simka 2014-10-29 13:59:22 UTC
Description of problem:
Both ImprovedNamingStrategyDelegator and LegacyNamingStrategyDelegator have private constructors, so they cannot be constructed when configured for hibernate.ejb.naming_strategy_delegator.

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

This is follow up on:
6.4.0
https://bugzilla.redhat.com/show_bug.cgi?id=1114699
https://bugzilla.redhat.com/show_bug.cgi?id=1132207

6.3.z
https://bugzilla.redhat.com/show_bug.cgi?id=1134738
https://bugzilla.redhat.com/show_bug.cgi?id=1132212

Comment 1 Gail Badner 2014-10-29 15:03:37 UTC
This is also a follow up on:

6.4.0
https://bugzilla.redhat.com/show_bug.cgi?id=1154212

6.3.z
https://bugzilla.redhat.com/show_bug.cgi?id=1157597

Bug 1157597 was fixed in 6.3.2.

HHH-9461 has already been fixed upstream: https://github.com/hibernate/hibernate-orm/commit/89d4fa99484f098078634845b7c2d793905f2d8c

The commit comment refers to: HHH-9388; it should have referred to HHH-9461.

Comment 3 Gail Badner 2014-11-21 03:10:27 UTC
Fixed for EAP 6.4.0.

Comment 4 Kabir Khan 2014-11-21 11:35:59 UTC
Fixed by Hibernate 4.2.16.Final upgrade https://bugzilla.redhat.com/show_bug.cgi?id=1121629

Comment 5 Martin Simka 2014-11-27 11:55:45 UTC
verified on EAP 6.4.0.DR11