Title:
Bug 83442:(Watson Migration Closure)Persistent Components that extend a component with mappedSuperclass="true", but which have no properties of their own, do not result in database tables being created
| 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: 5
Problem:
Persistent Components that extend a component with mappedSuperclass="true", but which have no properties of their own, do not result in database tables being created
Method:
1. create a component with mappedSuperclass="true". Give it an id property and some other property2. create a persistent component that extends it3. ensure that dbcreate="dropcreate" is on in ORMSettings4. run the application to get hibernate to create the tablesResult: No table is created since the extending class did not have properties of its ownExpected: The table should be created and it should contain all the fields as defined in the mappedSuperclabugss
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3041709
External Customer Info:
External Company:
External Customer Name: marc esher
External Customer Email: 70390EBF47F01CAF992015B9
External Test Config: 06/23/2010
Attachments:
Comments: