From 5503b466044bed0b3bccc6d7d991c90451e51a6d Mon Sep 17 00:00:00 2001 From: Eric Deandrea Date: Tue, 22 Jun 2021 09:19:26 -0400 Subject: [PATCH] Validate option for hibernate database generation In the [hibernate-orm guide](https://quarkus.io/guides/hibernate-orm#quarkus-hibernate-orm_quarkus.hibernate-orm.database.generation),`validate` is not shown as a valid value for the `quarkus.hibernate-orm.database.generation` property. --- .../orm/runtime/HibernateOrmRuntimeConfigPersistenceUnit.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/hibernate-orm/runtime/src/main/java/io/quarkus/hibernate/orm/runtime/HibernateOrmRuntimeConfigPersistenceUnit.java b/extensions/hibernate-orm/runtime/src/main/java/io/quarkus/hibernate/orm/runtime/HibernateOrmRuntimeConfigPersistenceUnit.java index f55957d183657..d16fb2304d5f2 100644 --- a/extensions/hibernate-orm/runtime/src/main/java/io/quarkus/hibernate/orm/runtime/HibernateOrmRuntimeConfigPersistenceUnit.java +++ b/extensions/hibernate-orm/runtime/src/main/java/io/quarkus/hibernate/orm/runtime/HibernateOrmRuntimeConfigPersistenceUnit.java @@ -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"; @@ -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";