Bug 979098

Summary: Multiple fixes for Hibernate unique keys and foreign keys in ORM 4.2.0.Final
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Brett Meyer <brmeyer>
Component: HibernateAssignee: Brett Meyer <brmeyer>
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: cdewolf, jawilson, myarboro, rsvoboda, theute
Target Milestone: ---   
Target Release: EAP 6.1.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 979103 (view as bug list) Environment:
Last Closed: 2013-07-29 15:37:25 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: 979103    

Description Brett Meyer 2013-06-27 15:16:16 UTC
Hibernate 4.2.0.Final (EAP 6.1.0) included changes to how unique keys and foreign keys were generated (both default to using constraints in "alter table" statements).  Multiple issues were found and fixed in commits spanning 4.2.1.Final to 4.2.3.Final.

This is fairly high priority and should be considered for EAP 6.1.1.  It may affect anyone using schema generation and un-named unique or foreign keys.

https://hibernate.atlassian.net/browse/HHH-1904
https://hibernate.atlassian.net/browse/HHH-8092
https://hibernate.atlassian.net/browse/HHH-8178
https://hibernate.atlassian.net/browse/HHH-8162
https://hibernate.atlassian.net/browse/HHH-8217
https://hibernate.atlassian.net/browse/HHH-8269
https://hibernate.atlassian.net/browse/HHH-8273
https://hibernate.atlassian.net/browse/HHH-8275

Comment 1 Brett Meyer 2013-06-27 15:18:08 UTC
Note that there may be some concerns about backward compatability with the fixes.  They do change the strategy used for automatic generation of constraint names.  However, we're specifically fixing issues where this generation was not deterministic in 4.2.0.Final, so it's a moot point.

Comment 7 Carlo de Wolf 2013-07-29 15:37:25 UTC

*** This bug has been marked as a duplicate of bug 981720 ***

Comment 8 Rostislav Svoboda 2013-08-28 08:56:38 UTC
Removing flags (not to see this bz in ACK_VIEW)