|
In the schema generation, Hibernate 5 creates the indexes using an explicit schema. This fails as Postgres doesn't like the fully qualified index name:
Hibernate: create index public.bugreports_created_index on public.bugReports (created) Tests run: 3, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.04 sec <<< FAILURE! - in com.seanergie.util.ApplicationSettingsTest
This SQL statement works
create index bugreports_created_index on public.bugReports (created);
while the one created by Hibernate fails create index PUBLIC.bugreports_created_index on public.bugReports (created);
It used to work with Hibernate 4.x.
This is similar to this bug in Liquidbase: https://liquibase.jira.com/browse/CORE-572
|