Title:
Persistent components shall not need a persistent or embeddable attribute when a mapping file is defined
| View in TrackerStatus/Resolution/Reason: Closed/Won't Fix/
Reporter/Name(from Bugbase): Alexandre Potvin Latreille / Alexandre Potvin Latreille (Alexandre Potvin Latreille)
Created: 09/10/2015
Components: ORM Support
Versions: 11.0
Failure Type: Enhancement Request
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Major / All users will encounter
Locale/System: ALL / Win 2008 Server x64
Vote Count: 1
Problem Description:
It's currently impossible to make components completely persistence-ignorant because the persistent/embeddable attributes have to be defined on a component despite the fact that a mapping file exists.
Steps to Reproduce:
Create an Hibernate mapping file for a component, but do not add persistent="true" in the component's definition.
Actual Result:
coldfusion.orm.hibernate.CFCTuplizer$CFCInstantiationException: CFC axp058.coldfusion.orm_collection_mapping_tests.Artist could not be initialized
Expected Result:
A component shall be identified as a persistent component if a mapping file exists for that component. The same goes for any embeddable components that may be referenced in a mappings file.
Any Workarounds:
I haven't found any workaround.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4053554
External Customer Info:
External Company:
External Customer Name: Alexandre Potvin Latreille
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: