Class HibernateOrmConfigPersistenceUnit.HibernateOrmConfigPersistenceUnitDialect

java.lang.Object
io.quarkus.hibernate.orm.deployment.HibernateOrmConfigPersistenceUnit.HibernateOrmConfigPersistenceUnitDialect
Enclosing class:
HibernateOrmConfigPersistenceUnit

public static class HibernateOrmConfigPersistenceUnit.HibernateOrmConfigPersistenceUnitDialect extends Object
  • Field Details

    • dialect

      @ConfigItem(name="<<parent>>", defaultValueDocumentation="selected automatically for most popular databases") @ConvertWith(io.quarkus.runtime.configuration.TrimmedStringConverter.class) public Optional<String> dialect
      Class name of the Hibernate ORM dialect. The complete list of bundled dialects is available in the https://docs.jboss.org/hibernate/stable/orm/javadocs/org/hibernate/dialect/package-summary.html[Hibernate ORM JavaDoc]. Setting the dialect directly is only recommended as a last resort: most popular databases have a corresponding Quarkus extension, allowing Quarkus to select the dialect automatically, in which case you do not need to set the dialect at all, though you may want to set xref:datasource.adoc#quarkus-datasource_quarkus.datasource.db-version[`quarkus.datasource.db-version`] as high as possible to benefit from the best performance and latest features. If your database does not have a corresponding Quarkus extension, you will need to set the dialect directly. In that case, keep in mind that the JDBC driver and Hibernate ORM dialect may not work properly in GraalVM native executables.
    • storageEngine

      @ConfigItem @ConvertWith(io.quarkus.runtime.configuration.TrimmedStringConverter.class) public Optional<String> storageEngine
      The storage engine to use when the dialect supports multiple storage engines. E.g. `MyISAM` or `InnoDB` for MySQL.
  • Constructor Details

    • HibernateOrmConfigPersistenceUnitDialect

      public HibernateOrmConfigPersistenceUnitDialect()
  • Method Details

    • isAnyPropertySet

      public boolean isAnyPropertySet()