Bug 1158502

Summary: [QE] (6.3.z) 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: bbaranow, cdewolf, gbadner, jawilson, msimka, myarboro, smarlow
Target Milestone: CR1   
Target Release: EAP 6.3.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1158498 Environment:
Last Closed: 2019-08-19 12:39:13 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: 1158498    
Bug Blocks: 1132214, 1151405, 1159890    

Description Martin Simka 2014-10-29 14:01:26 UTC
+++ This bug was initially created as a clone of Bug #1158498 +++

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

Bugs 1134738 and 1132212 were fixed in 6.3.2

Comment 1 Gail Badner 2014-10-29 15:01:22 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 Martin Simka 2015-01-20 16:30:58 UTC
verified on EAP 6.3.3.CP.CR1