Validate runtime schemas against Hibernate

Description

To ensure our Liquibase config (used to configure production databases) matches our Hibernate config (used to configure databases for unit tests), we need to validate one against the other.

Unfortunately, EntityManagerFactory currently gets initialised (and tries to validate tables) before LiquibaseServletListener can create the database tables.

Possible workaround: an Undertow ServletExtension should be able to invoke Liquibase before EntityManagerFactory is initialised.

See https://github.com/zanata/zanata-platform/pull/19

Duplicate

Assignee

Unassigned

Reporter

Sean Flanigan

Labels

Tested Version/s

None

Priority

unspecified
Configure