Interface HibernateOrmConfigPersistenceUnit.HibernateOrmConfigPersistenceUnitDialect
- Enclosing interface:
- HibernateOrmConfigPersistenceUnit
public static interface HibernateOrmConfigPersistenceUnit.HibernateOrmConfigPersistenceUnitDialect
-
Method Summary
Modifier and TypeMethodDescriptiondialect()Name of the Hibernate ORM dialect.default booleanThe storage engine to use when the dialect supports multiple storage engines.
-
Method Details
-
dialect
@WithParentName @ConfigDocDefault("selected automatically for most popular databases") @WithConverter(io.quarkus.runtime.configuration.TrimmedStringConverter.class) @WithConverter(io.quarkus.runtime.configuration.TrimmedStringConverter.class) Optional<String> dialect()Name of the Hibernate ORM dialect. For xref:datasource.adoc#extensions-and-database-drivers-reference[supported databases], this property does not need to be set explicitly: it is selected automatically based on the datasource, and configured using the xref:datasource.adoc#quarkus-datasource_quarkus.datasource.db-version[DB version set on the datasource] to benefit from the best performance and latest features. If your database does not have a corresponding Quarkus extension, you *will* need to set this property explicitly. In that case, keep in mind that the JDBC driver and Hibernate ORM dialect may not work properly in GraalVM native executables. For built-in dialects, the expected value is one of the names in the link:{hibernate-orm-dialect-docs-url}[official list of dialects], *without* the `Dialect` suffix, for example `Cockroach` for `CockroachDialect`. For third-party dialects, the expected value is the fully-qualified class name, for example `com.acme.hibernate.AcmeDbDialect`. -
storageEngine
@WithConverter(io.quarkus.runtime.configuration.TrimmedStringConverter.class) @WithConverter(io.quarkus.runtime.configuration.TrimmedStringConverter.class) Optional<String> storageEngine()The storage engine to use when the dialect supports multiple storage engines. E.g. `MyISAM` or `InnoDB` for MySQL. -
isAnyPropertySet
default boolean isAnyPropertySet()
-