+++ This bug was initially created as a clone of Bug #979098 +++ 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 --- Additional comment from Brett Meyer on 2013-06-27 11:18:08 EDT --- 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.
Created attachment 766357 [details] patched hibernate module
Brett, this looks like real one-off. If you want to have these fixes in EAP 6.1.1 I would suggest to create new BZ and remove eap-6.1.1 flag from this BZ. it's really confusing - is this BZ meant to be fixed in EAP 6.1.1 ?
I found https://bugzilla.redhat.com/show_bug.cgi?id=979098 for EAP 6.1.1 I think eap-6.1.1 flag should be removed.
The eap-6.1.1 has been set automatically, lately -- not sure why. Removing.
Attached zip should countain README file with patching instructions. Could you please add the README file into the zip? Thank you
Created attachment 772485 [details] patched hibernate module
No regressions were found and the issue was verified. QA Passed. MD5 sum for tested files: 303d93111f3479eedf87fe572a2338f8 BZ-979103.zip 97b3798f16afc2d1043077f528832ed4 hibernate-core-4.2.0.Final-redhat-1-BZ-979103.jar
https://access.redhat.com/jbossnetwork/restricted/softwareDetail.html?softwareId=23853&product=appplatform&version=6.1.0&downloadType=patches