Interface HibernateOrmConfigPersistenceUnit.HibernateOrmConfigPersistenceUnitJdbc

Enclosing interface:
HibernateOrmConfigPersistenceUnit

public static interface HibernateOrmConfigPersistenceUnit.HibernateOrmConfigPersistenceUnitJdbc
  • Method Summary

    Modifier and Type
    Method
    Description
    Whether to bootstrap a blocking (JDBC) Hibernate ORM instance for this persistence unit.
    default boolean
     
    The number of updates (inserts, updates and deletes) that are sent by the JDBC driver at one time for execution.
    How many rows are fetched at a time by the JDBC driver.
    Optional<@WithConverter(io.quarkus.runtime.configuration.TrimmedStringConverter.class) String>
    The time zone pushed to the JDBC driver.
  • Method Details

    • enabled

      Optional<Boolean> enabled()
      Whether to bootstrap a blocking (JDBC) Hibernate ORM instance for this persistence unit.

      Use quarkus.hibernate-orm.jdbc.enabled for the default persistence unit and quarkus.hibernate-orm."<persistence-unit-name>".jdbc.enabled for named persistence units. This is the per-persistence-unit replacement for the deprecated quarkus.hibernate-orm.blocking.

      If not set, this is inferred from whether a JDBC datasource is available for this persistence unit, as well as the global (deprecated) `quarkus.hibernate-orm.blocking` setting.

    • timezone

      Optional<@WithConverter(io.quarkus.runtime.configuration.TrimmedStringConverter.class) String> timezone()
      The time zone pushed to the JDBC driver. See `quarkus.hibernate-orm.mapping.timezone.default-storage`.
    • statementFetchSize

      OptionalInt statementFetchSize()
      How many rows are fetched at a time by the JDBC driver.
    • statementBatchSize

      OptionalInt statementBatchSize()
      The number of updates (inserts, updates and deletes) that are sent by the JDBC driver at one time for execution.
    • isAnyPropertySet

      default boolean isAnyPropertySet()