Skip to content

Commit

Permalink
Merge pull request #18084 from Sanne/OrmUpgrade
Browse files Browse the repository at this point in the history
Upgrade to Hibernate ORM 5.5.3.Final
  • Loading branch information
Sanne authored Jun 22, 2021
2 parents 518aea5 + 7a7d3f3 commit c7fd98b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bom/application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
<commons-lang3.version>3.12.0</commons-lang3.version>
<commons-codec.version>1.15</commons-codec.version>
<classmate.version>1.5.1</classmate.version>
<hibernate-orm.version>5.5.2.Final</hibernate-orm.version>
<hibernate-orm.version>5.5.3.Final</hibernate-orm.version>
<hibernate-reactive.version>1.0.0.CR7</hibernate-reactive.version>
<hibernate-validator.version>6.2.0.Final</hibernate-validator.version>
<hibernate-search.version>6.0.4.Final</hibernate-search.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,9 @@ private static void injectRuntimeConfiguration(String persistenceUnitName,
runtimeSettingsBuilder.put(AvailableSettings.HBM2DDL_HALT_ON_ERROR, "true");
}

//Never append on existing scripts:
runtimeSettingsBuilder.put(AvailableSettings.HBM2DDL_SCRIPTS_CREATE_APPEND, "false");

runtimeSettingsBuilder.put(AvailableSettings.HBM2DDL_SCRIPTS_ACTION,
persistenceUnitConfig.scripts.generation.generation);

Expand Down

0 comments on commit c7fd98b

Please sign in to comment.