Package io.quarkus.hibernate.orm.runtime
Class HibernateOrmRuntimeConfigPersistenceUnit.HibernateOrmConfigPersistenceUnitDatabaseGeneration
java.lang.Object
io.quarkus.hibernate.orm.runtime.HibernateOrmRuntimeConfigPersistenceUnit.HibernateOrmConfigPersistenceUnitDatabaseGeneration
- Enclosing class:
- HibernateOrmRuntimeConfigPersistenceUnit
public static class HibernateOrmRuntimeConfigPersistenceUnit.HibernateOrmConfigPersistenceUnitDatabaseGeneration
extends Object
-
Field Summary
Modifier and TypeFieldDescriptionboolean
If Hibernate ORM should create the schemas automatically (for databases supporting them).Select whether the database schema is generated or not.boolean
Whether we should stop on the first error when applying the schema. -
Constructor Summary
-
Method Summary
-
Field Details
-
generation
@ConfigItem(name="<<parent>>", defaultValue="none") @ConvertWith(io.quarkus.runtime.configuration.TrimmedStringConverter.class) public String generationSelect whether the database schema is generated or not. `drop-and-create` is awesome in development mode. This defaults to 'none', however if Dev Services is in use and no other extensions that manage the schema are present this will default to 'drop-and-create'. Accepted values: `none`, `create`, `drop-and-create`, `drop`, `update`, `validate`. -
createSchemas
If Hibernate ORM should create the schemas automatically (for databases supporting them). -
haltOnError
Whether we should stop on the first error when applying the schema.
-
-
Constructor Details
-
HibernateOrmConfigPersistenceUnitDatabaseGeneration
public HibernateOrmConfigPersistenceUnitDatabaseGeneration()
-
-
Method Details
-
isAnyPropertySet
public boolean isAnyPropertySet()
-