Bug 1012953

Summary: Generated Database schema tables are different from RTGov sample H2 schema
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Steve Johnson <stejohns>
Component: RT GovernanceAssignee: Steve Johnson <stejohns>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Sedlacek <jsedlace>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.0.0 GACC: atangrin, kconner, ldimaggi, oskutka, soa-p-jira
Target Milestone: ER4   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Steve Johnson 2013-09-27 12:38:11 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Run productisation build system
2.
3.

Actual results:
SchemaExport generates one table per class mapping


Expected results:
One table per inheritance hierarchy


Additional info:
The difference in schema structure means we cannot populate seed data.
Seed data is also missing for ERD databases.

Comment 4 Steve Johnson 2013-10-18 14:30:04 UTC
Updated incomplete persistence.xml descriptor. Hibernate was not scanning for all classes in the inheritance hierarchy.  Tables have been re-generated after fix and checked to be correct against mappings in other persistence unit sql files.