Interface HibernateOrmConfigPersistenceUnit.HibernateOrmConfigPersistenceUnitDialect

Enclosing interface:
HibernateOrmConfigPersistenceUnit

public static interface HibernateOrmConfigPersistenceUnit.HibernateOrmConfigPersistenceUnitDialect
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional<@WithConverter(io.quarkus.runtime.configuration.TrimmedStringConverter.class) String>
    Name of the Hibernate ORM dialect.
    default boolean
     
    Configuration specific to Hibernate's Dialect for MariaDB
    Configuration specific to Hibernate's Dialect for Microsoft SQLServer
    Configuration specific to Hibernate's Dialect for MySQL
    Configuration specific to Hibernate's Dialect for Oracle
    @WithConverter(io.quarkus.runtime.configuration.TrimmedStringConverter.class) Optional<String>
    Deprecated.
    Use quarkus.hibernate-orm.dialect.mysql.storage-engine or quarkus.hibernate-orm.dialect.mariadb.storage-engine instead.
  • 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 quarkus.hibernate-orm.dialect.mysql.storage-engine or quarkus.hibernate-orm.dialect.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()