Bug 979098 - Multiple fixes for Hibernate unique keys and foreign keys in ORM 4.2.0.Final
Summary: Multiple fixes for Hibernate unique keys and foreign keys in ORM 4.2.0.Final
Keywords:
Status: CLOSED DUPLICATE of bug 981720
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Hibernate
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: EAP 6.1.1
Assignee: Brett Meyer
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 979103
TreeView+ depends on / blocked
 
Reported: 2013-06-27 15:16 UTC by Brett Meyer
Modified: 2015-09-01 04:00 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
: 979103 (view as bug list)
Environment:
Last Closed: 2013-07-29 15:37:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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)


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