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 SessionFactoryOptionsbuildSessionFactoryOptions()Build theSessionFactoryOptionsthat will ultimately be passed to the constructor ofSessionFactoryImpl.voiddisableJtaTransactionAccess()Called ifAvailableSettings.ALLOW_JTA_TRANSACTION_ACCESSis not enabled.default voiddisableRefreshDetachedEntity()Called 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, applyQueryCacheSupport, applyScrollableResultsSupport, applySecondLevelCacheSupport, applySqlComments, applySqlFunction, applyStatelessInterceptor, applyStatelessInterceptor, applyStatementInspector, applyStatisticsSupport, applyStructuredCacheEntries, applyTempTableDdlTransactionHandling, applyTimestampsCacheFactory, applyValidatorFactory, applyXmlFormatMapper, build, enableJpaClosedCompliance, enableJpaListCompliance, enableJpaOrderByMappingCompliance, enableJpaQueryCompliance, enableJpaTransactionCompliance, enableReleaseResourcesOnCloseEnabled
-
-
-
-
Method Detail
-
disableJtaTransactionAccess
void disableJtaTransactionAccess()
Called ifAvailableSettings.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.
-
-