Package io.quarkus.hibernate.orm.runtime
Interface HibernateOrmRuntimeConfigPersistenceUnit.HibernateOrmConfigPersistenceUnitDatabase
- Enclosing interface:
- HibernateOrmRuntimeConfigPersistenceUnit
public static interface HibernateOrmRuntimeConfigPersistenceUnit.HibernateOrmConfigPersistenceUnitDatabase
-
Method Summary
Modifier and TypeMethodDescriptionOptional<@WithConverter(io.quarkus.runtime.configuration.TrimmedStringConverter.class) String>
The default catalog to use for the database objects.Optional<@WithConverter(io.quarkus.runtime.configuration.TrimmedStringConverter.class) String>
The default schema to use for the database objects.Schema generation configuration.Whether Hibernate ORM should check on startup that the version of the database matches the version configured on the dialect (either the default version, or the one set through `quarkus.datasource.db-version`).
-
Method Details
-
generation
HibernateOrmRuntimeConfigPersistenceUnit.HibernateOrmConfigPersistenceUnitDatabaseGeneration generation()Schema generation configuration. -
defaultCatalog
Optional<@WithConverter(io.quarkus.runtime.configuration.TrimmedStringConverter.class) String> defaultCatalog()The default catalog to use for the database objects. -
defaultSchema
Optional<@WithConverter(io.quarkus.runtime.configuration.TrimmedStringConverter.class) String> defaultSchema()The default schema to use for the database objects. -
versionCheckEnabled
@WithName("version-check.enabled") @ConfigDocDefault("`true` if the dialect was set automatically by Quarkus, `false` if it was set explicitly") Optional<Boolean> versionCheckEnabled()Whether Hibernate ORM should check on startup that the version of the database matches the version configured on the dialect (either the default version, or the one set through `quarkus.datasource.db-version`). This should be set to `false` if the database is not available on startup.
-