Title:
Bug 83441:(Watson Migration Closure)MappedSuperclass does not honor the entire hierarchy; instead, it only honors the immediate parent
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): marc esher / marc esher (marcesher)
Created: 06/23/2010
Components: ORM Support
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Normal / Unknown
Locale/System: English / Platforms All
Vote Count: 6
Problem:
MappedSuperclass does not honor the entire hierarchy; instead, it only honors the immediate parent
Method:
1) Create an Entity.cfc with mappedSuperclass="true". Give it properties of "id" and "version"2) Create a SubEntity.cfc that extends Entity. Give it mappedSuperclass="true". Give it a property of "name"3) create a persistent MyObject.cfc that extends SubEntity. Give it another persistent property4) in application.cfc, ensure dbcreate="dropcreate" to get hibernate to create the database schemaResult: the MyObject table will only have the fields from SubEntity and itself, but it will not have the fields defined in Entity.Expected: The entire inheritance tree should be honored with MappedSuperclass.
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3041708
Deployment Phase: Release Candidate
External Customer Info:
External Company:
External Customer Name: marc esher
External Customer Email: 70390EBF47F01CAF992015B9
External Test Config: 06/23/2010
Attachments:
Comments: