tracker issue : CF-3792827

select a category, or use search below
(searches all categories and all time range)

Shipped version of Hibernate has known issue not generating unique constraint names - needs to be updated

| View in Tracker

Status/Resolution/Reason: To Track//ThirdParty

Reporter/Name(from Bugbase): Phill Nacelli / Phill Nacelli (Phill Nacelli)

Created: 07/22/2014

Components: ORM Support

Versions: 11.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Critical / All users will encounter

Locale/System: ALL / Win All

Vote Count: 0

Problem Description:  The 4.1.10 version of Hibernate that is shipped with ColdFusion 11 ([INSTALL DRIVE]:\ColdFusion11\cfusion\lib\hibernate-core-4.1.10.Final.jar) has a known issue not generating unique constraint names which is not allowed in certain DBs like MSSQL.  This prohibits the ability to generate the database from ORM.

This issue has been fixed in the next Hibernate minor build version 4.1.11 and other major build versions 4.2.x and 4.3.x, for more information about this bug please see Hibernate's bug base:

Steps to Reproduce:  

Actual Result:

Expected Result:

Any Workarounds:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3792827

External Customer Info:
External Company:  
External Customer Name: Phill Nacelli
External Customer Email:  
External Test Config: My Hardware and Environment details:



4.1.11 has caused a regression where cascade inserts are not working in a case because of the fix for HHH-5732. Logged HHH-9325 for that.
Comment by Himavanth R.
11543 | August 11, 2014 12:52:57 AM GMT
Hi Himavanth , What are you planning to do now that the Hibernate folks deemed HHH-9325 a non issue? The @OrderColumn documentation does state "Specifies a column that is used to maintain the persistent order of a list." Thanks for looking into this.
Comment by External U.
11544 | November 06, 2014 08:53:13 PM GMT
This has since been moved to toFix state. We will give this a re-look for the next update.
Comment by Himavanth R.
11545 | November 10, 2014 05:39:37 AM GMT
Comment by Himavanth R.
11546 | November 20, 2014 11:49:08 PM GMT
Been a while, can I get an update on this ticket or when will hibernate be updated in ColdFusion and to what version? Thanks, Phill
Comment by Phill N.
11547 | January 27, 2017 06:26:11 AM GMT