tracker issue : CF-3042577

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

Bug 84808:Building of search meta data fails at ormreload in case of CFCs using inheritance

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): / Himavanth Rachamsetty (Himavanth Rachamsetty)

Created: 10/25/2010

Components: ORM Support

Versions: 10.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 / 276120

Priority/Frequency: Normal / All users will encounter

Locale/System: English / Platforms All

Vote Count: 0

Problem:

Building of search meta data fails at ormreload in case of CFCs using inheritance.
Method:

\\blrfs04.macromedia.com\BUILDS\coldfusion\Bugs\ormsearch\84808
Result:

Repeated column in mapping for entity: ccashpayment column: firstname (should be mapped with insert="false" update="false") 

org.hibernate.MappingException: Repeated column in mapping for entity: ccashpayment column: firstname (should be mapped with insert="false" update="false") at org.hibernate.mapping.PersistentClass.checkColumnDuplication(PersistentClass.java:676) at org.hibernate.mapping.PersistentClass.checkPropertyColumnDuplication(PersistentClass.java:698) at org.hibernate.mapping.PersistentClass.checkColumnDuplication(PersistentClass.java:720) at org.hibernate.mapping.PersistentClass.validate(PersistentClass.java:474) at org.hibernate.mapping.SingleTableSubclass.validate(SingleTableSubclass.java:66) at org.hibernate.cfg.Configuration.validate(Configuration.java:1193) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1378) at coldfusion.orm.hibernate.HibernateConfiguration._getSessionFactory(HibernateConfiguration.java:781) at coldfusion.orm.hibernate.HibernateConfiguration.getSessionFactory(HibernateConfiguration.java:756) at coldfusion.orm.hibernate.HibernateConfiguration.buildSearchMetadata(HibernateConfiguration.java:1135) at coldfusion.orm.hibernate.ConfigurationManager.initConfiguration(ConfigurationManager.java:72) at coldfusion.orm.hibernate.HibernateProvider.InitializeORMForApplication(HibernateProvider.java:178) at coldfusion.orm.hibernate.HibernateProvider._reloadORMForApp(HibernateProvider.java:220) at coldfusion.orm.hibernate.HibernateProvider.reloadORMForApplication(HibernateProvider.java:200) at coldfusion.orm.ORMUtils.reloadORM(ORMUtils.java:388) at coldfusion.runtime.CFPage.ORMReload(CFPage.java:7862)

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

Watson Bug ID:	3042577

External Customer Info:
External Company:  
External Customer Name: Himavanth Rachamsetty
External Customer Email: himar
External Test Config: 10/25/2010

Attachments:

Comments:

Awdhesh 11/25/10: In the attached testcase, the ccashpayment component should not have joincolumn defined. The problem is that the cashpayment cfc points to the base table payment and for which joincolumn need not defined. Hima 17 Jan 2011: Testcases updated in the checkin 276519 Bug fixed by awdhesh Bug History Timestamp|name|field|from value|to value| 24 Oct 2010 23:45:42 GMT | Himavanth Rachamsetty | Bug Submitted | | | 24 Oct 2010 23:45:42 GMT | Himavanth Rachamsetty | Class Type | | BUG | 24 Oct 2010 23:45:42 GMT | Himavanth Rachamsetty | Severity | | 3-High (Has workaround difficult to implement) | 25 Oct 2010 00:13:28 GMT | Himavanth Rachamsetty | Priority | | A | 25 Oct 2010 00:13:28 GMT | Himavanth Rachamsetty | Queue Transfer | | awdhesh | 25 Oct 2010 00:13:28 GMT | Himavanth Rachamsetty | Target Fix Milestone | | Alpha 1 | 25 Oct 2010 00:13:28 GMT | Himavanth Rachamsetty | Target Fix Release | | ColdFusion 10.0 | 25 Oct 2010 00:13:28 GMT | Himavanth Rachamsetty | Verified | No | Yes | 26 Oct 2010 20:53:29 GMT | Himavanth Rachamsetty | Priority | 1 | B | 24 Nov 2010 19:31:13 GMT | Awdhesh Kumar | Queue Transfer | awdhesh | Himavanth | 25 Nov 2010 23:15:08 GMT | Awdhesh Kumar | Fixed | No | Yes | 16 Jan 2011 22:35:00 GMT | Himavanth Rachamsetty | Closed | No | Yes |
Comment by Kunal S.
21359 | November 11, 2011 04:34:43 AM GMT