Interface HibernateOrmRuntimeConfig


@ConfigMapping(prefix="quarkus.hibernate-orm") @ConfigRoot(phase=RUN_TIME) public interface HibernateOrmRuntimeConfig
  • Method Details

    • persistenceUnits

      @WithParentName @WithUnnamedKey("<default>") @WithDefaults @ConfigDocMapKey("persistence-unit-name") @WithUnnamedKey("<default>") Map<String,HibernateOrmRuntimeConfigPersistenceUnit> persistenceUnits()
      Configuration for persistence units.
    • requestScopedSessionEnabled

      @WithName("request-scoped.enabled") @WithDefault("true") boolean requestScopedSessionEnabled()
      Enable or disable access to a Hibernate ORM `EntityManager`/`Session`/`StatelessSession` *when no transaction is active* but a request scope is. When enabled, the corresponding sessions will be read-only. Defaults to enabled for backwards compatibility, but disabling this is recommended, to avoid inconsistent resulsts caused by queries running outside of transactions.
    • extensionPropertyKey

      static String extensionPropertyKey(String radical)
    • puPropertyKey

      static String puPropertyKey(String puName, String radical)