Title:
Bug 85227:When trying to load records using ORM, sometimes errors are randomly thrown when working with relationships with the following error message:Object with id: {id} was not of the specified subclass: {En
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/
Reporter/Name(from Bugbase): Tony Nelson / Tony Nelson (tonynelson19)
Created: 11/29/2010
Components: ORM Support
Versions: 9.0.1
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Major / Unknown
Locale/System: English / Win All
Vote Count: 12
Duplicate ID: CF-3000279
Problem:
When trying to load records using ORM, sometimes errors are randomly thrown when working with relationships with the following error message:Object with id: {id} was not of the specified subclass: {Entity} (loaded object was of wrong class class coldfusion.orm.PersistentTemplateProxy)I posted this to the cf-orm-dev Google group, but didn't find a solution: http://groups.google.com/group/cf-orm-dev/browse_thread/thread/7f70e3fb6905a089The URL to my hibernate mapping file inside the Google group post should be updated to the following: https://github.com/tonynelson19/ColdMVC-Samples/blob/master/blog/config/hibernate.hbmxml. The error that I was receiving was thrown when loading Post entities through a Category.I've searched Google to see if anyone else is having the same problem, but unfortunately the results all point back towards me. http://www.google.com/search?q=%22loaded+object+was+of+wrong+class+class+coldfusion.orm.PersistentTemplateProxy%22However, since the results all point to me, I've had 4 other people tell me they've had the same error and had asked if I knew anything more if it, so I'm not the only one that has experienced this.
Method:
Result:
Object with id: {id} was not of the specified subclass: {Entity}(loaded object was of wrong class classcoldfusion.orm.PersistentTemplateProxy)
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3042880
External Customer Info:
External Company:
External Customer Name: Tony Nelson
External Customer Email: 29E2158A45C91A06992015C2
External Test Config: 11/29/2010
Attachments:
Comments: