Package org.hibernate.boot.spi
Interface SessionFactoryBuilderImplementor
- All Superinterfaces:
SessionFactoryBuilder
- All Known Implementing Classes:
AbstractDelegatingSessionFactoryBuilderImplementor,SessionFactoryBuilderImpl
Additional SPI contract for
SessionFactoryBuilder, mainly intended for
implementors of SessionFactoryBuilderFactory.- Author:
- Steve Ebersole
-
Method Summary
Modifier and TypeMethodDescriptionBuild theSessionFactoryOptionsthat will ultimately be passed to the constructor ofSessionFactoryImpl.voidCalled ifTransactionSettings.ALLOW_JTA_TRANSACTION_ACCESSis not enabled.default voidCalled ifAvailableSettings.ALLOW_REFRESH_DETACHED_ENTITYis 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 Details
-
disableJtaTransactionAccess
void disableJtaTransactionAccess()Called ifTransactionSettings.ALLOW_JTA_TRANSACTION_ACCESSis not enabled. -
disableRefreshDetachedEntity
default void disableRefreshDetachedEntity()Called ifAvailableSettings.ALLOW_REFRESH_DETACHED_ENTITYis not enabled. -
buildSessionFactoryOptions
SessionFactoryOptions buildSessionFactoryOptions()Build theSessionFactoryOptionsthat will ultimately be passed to the constructor ofSessionFactoryImpl.
-