Interface HibernateOrmConfigPersistenceUnit.HibernateOrmConfigPersistenceUnitDialect

Enclosing interface:
HibernateOrmConfigPersistenceUnit

public static interface HibernateOrmConfigPersistenceUnit.HibernateOrmConfigPersistenceUnitDialect
  • Method Details

    • dialect

      @WithParentName @ConfigDocDefault("selected automatically for most popular databases") Optional<@WithConverter(io.quarkus.runtime.configuration.TrimmedStringConverter.class) 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) @Deprecated @WithConverter(io.quarkus.runtime.configuration.TrimmedStringConverter.class) Optional<String> storageEngine()
      Deprecated.
      Use mysql.storage-engine or mariadb.storage-engine instead
      The storage engine to use when the dialect supports multiple storage engines. E.g. `MyISAM` or `InnoDB` for MySQL.
    • mariadb

      Configuration specific to Hibernate's Dialect for MariaDB
    • mysql

      Configuration specific to Hibernate's Dialect for MySQL
    • oracle

      Configuration specific to Hibernate's Dialect for Oracle
    • mssql

      Configuration specific to Hibernate's Dialect for Microsoft SQLServer
    • isAnyPropertySet

      default boolean isAnyPropertySet()