[jOOQ/jOOQ#17274] JPADatabase should throw Hibernate's exceptions when
there is anything going wrong with the SchemaExport
This commit is contained in:
parent
4fa5cf64aa
commit
e5a53bbc69
@ -173,6 +173,9 @@ public class JPADatabase extends AbstractInterpretingDatabase {
|
||||
|
||||
// Hibernate 5.2 broke 5.0 API again. Here's how to do this now:
|
||||
SchemaExport export = new SchemaExport();
|
||||
|
||||
// [#17274] Don't swallow errors during the exports
|
||||
export.setHaltOnError(true);
|
||||
export.create(EnumSet.of(TargetType.DATABASE), metadata.buildMetadata());
|
||||
|
||||
if (useAttributeConverters)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user