Bug 1012953 - Generated Database schema tables are different from RTGov sample H2 schema
Summary: Generated Database schema tables are different from RTGov sample H2 schema
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: RT Governance
Version: 6.0.0 GA
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ER4
: 6.0.0
Assignee: Steve Johnson
QA Contact: Jiri Sedlacek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-27 12:38 UTC by Steve Johnson
Modified: 2015-08-02 23:45 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.