Red Hat Bugzilla – Bug 1012953
Generated Database schema tables are different from RTGov sample H2 schema
Last modified: 2015-08-02 19:45:02 EDT
Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run productisation build system
SchemaExport generates one table per class mapping
One table per inheritance hierarchy
The difference in schema structure means we cannot populate seed data.
Seed data is also missing for ERD databases.
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.