Package org.hibernate.boot.spi
Interface SessionFactoryBuilderImplementor
-
- All Superinterfaces:
SessionFactoryBuilder
- All Known Implementing Classes:
AbstractDelegatingSessionFactoryBuilderImplementor
,SessionFactoryBuilderImpl
public interface SessionFactoryBuilderImplementor extends SessionFactoryBuilder
Additional SPI contract forSessionFactoryBuilder
, mainly intended for implementors ofSessionFactoryBuilderFactory
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SessionFactoryOptions
buildSessionFactoryOptions()
Build theSessionFactoryOptions
that will ultimately be passed to the constructor ofSessionFactoryImpl
.void
disableJtaTransactionAccess()
Called ifTransactionSettings.ALLOW_JTA_TRANSACTION_ACCESS
is not enabled.default void
disableRefreshDetachedEntity()
Called ifAvailableSettings.ALLOW_REFRESH_DETACHED_ENTITY
is not enabled.-
Methods inherited from interface org.hibernate.boot.SessionFactoryBuilder
addEntityNameResolver, addSessionFactoryObservers, allowOutOfTransactionUpdateOperations, applyAutoClosing, applyAutoFlushing, applyAutomaticEvictionOfCollectionCaches, applyBatchFetchStyle, applyBeanManager, applyCacheRegionPrefix, applyCollectionsInDefaultFetchGroup, applyConnectionHandlingMode, applyConnectionProviderDisablesAutoCommit, applyCurrentTenantIdentifierResolver, applyCustomEntityDirtinessStrategy, applyDefaultBatchFetchSize, applyDefaultNullPrecedence, applyDelayedEntityLoaderCreations, applyDirectReferenceCaching, applyEntityNotFoundDelegate, applyGetGeneratedKeysSupport, applyIdentifierRollbackSupport, applyInterceptor, applyJdbcBatchingForVersionedEntities, applyJdbcBatchSize, applyJdbcFetchSize, applyJsonFormatMapper, applyJtaTrackingByThread, applyLazyInitializationOutsideTransaction, applyMaximumFetchDepth, applyMinimalPutsForCaching, applyMultiTenancy, applyName, applyNameAsJndiName, applyNamedQueryCheckingOnStartup, applyNullabilityChecking, applyOrderingOfInserts, applyOrderingOfUpdates, applyPreferUserTransactions, applyQueryCacheLayout, applyQueryCacheSupport, applyScrollableResultsSupport, applySecondLevelCacheSupport, applySqlComments, applySqlFunction, applyStatelessInterceptor, applyStatelessInterceptor, applyStatementInspector, applyStatisticsSupport, applyStructuredCacheEntries, applySubselectFetchEnabled, applyTempTableDdlTransactionHandling, applyTimestampsCacheFactory, applyValidatorFactory, applyXmlFormatMapper, build, enableJpaCascadeCompliance, enableJpaClosedCompliance, enableJpaListCompliance, enableJpaOrderByMappingCompliance, enableJpaQueryCompliance, enableJpaTransactionCompliance, enableReleaseResourcesOnCloseEnabled
-
-
-
-
Method Detail
-
disableJtaTransactionAccess
void disableJtaTransactionAccess()
Called ifTransactionSettings.ALLOW_JTA_TRANSACTION_ACCESS
is not enabled.
-
disableRefreshDetachedEntity
default void disableRefreshDetachedEntity()
Called ifAvailableSettings.ALLOW_REFRESH_DETACHED_ENTITY
is not enabled.
-
buildSessionFactoryOptions
SessionFactoryOptions buildSessionFactoryOptions()
Build theSessionFactoryOptions
that will ultimately be passed to the constructor ofSessionFactoryImpl
.
-
-