Skip to content

Commit

Permalink
Merge pull request #18078 from edeandrea/patch-1
Browse files Browse the repository at this point in the history
Validate option for hibernate database generation
  • Loading branch information
gsmet authored Jun 22, 2021
2 parents c7fd98b + 5503b46 commit d22a55c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public static class HibernateOrmConfigPersistenceUnitDatabaseGeneration {
*
* `drop-and-create` is awesome in development mode.
*
* Accepted values: `none`, `create`, `drop-and-create`, `drop`, `update`.
* Accepted values: `none`, `create`, `drop-and-create`, `drop`, `update`, `validate`.
*/
@ConfigItem(name = ConfigItem.PARENT, defaultValue = "none")
public String generation = "none";
Expand Down Expand Up @@ -102,7 +102,7 @@ public static class HibernateOrmConfigPersistenceUnitScriptGeneration {
/**
* Select whether the database schema DDL files are generated or not.
*
* Accepted values: `none`, `create`, `drop-and-create`, `drop`, `update`.
* Accepted values: `none`, `create`, `drop-and-create`, `drop`, `update`, `validate`.
*/
@ConfigItem(name = ConfigItem.PARENT, defaultValue = "none")
public String generation = "none";
Expand Down

0 comments on commit d22a55c

Please sign in to comment.