tracker issue : CF-3041708

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

Bug 83441:(Watson Migration Closure)MappedSuperclass does not honor the entire hierarchy; instead, it only honors the immediate parent

| View in Tracker

Status/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:

This directly affects a project I am currently working on.
Vote by External U.
21920 | November 11, 2011 12:54:42 AM GMT
This bug has been voted..
Vote by External U.
21921 | November 11, 2011 12:54:43 AM GMT
This bug has been voted..
Vote by External U.
21922 | November 11, 2011 12:54:45 AM GMT
This bug has been voted..
Vote by External U.
21923 | November 11, 2011 12:54:46 AM GMT
This bug has been voted..
Vote by External U.
21924 | November 11, 2011 12:54:48 AM GMT
This bug has been voted..
Vote by External U.
21925 | November 11, 2011 12:54:49 AM GMT