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
.-
Method Summary
Modifier and TypeMethodDescriptionBuild theSessionFactoryOptions
that will ultimately be passed to the constructor ofSessionFactoryImpl
.void
Called ifTransactionSettings.ALLOW_JTA_TRANSACTION_ACCESS
is not enabled.default void
Deprecated, for removal: This API element is subject to removal in a future version.with no replacement.Methods inherited from interface org.hibernate.boot.SessionFactoryBuilder
addEntityNameResolver, addSessionFactoryObservers, allowOutOfTransactionUpdateOperations, applyAutoClosing, applyAutoFlushing, applyAutomaticEvictionOfCollectionCaches, 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, enableJpaOrderByMappingCompliance, enableJpaQueryCompliance, enableJpaTransactionCompliance, enableReleaseResourcesOnCloseEnabled
-
Method Details
-
disableJtaTransactionAccess
void disableJtaTransactionAccess()Called ifTransactionSettings.ALLOW_JTA_TRANSACTION_ACCESS
is not enabled. -
disableRefreshDetachedEntity
Deprecated, for removal: This API element is subject to removal in a future version.with no replacement. -
buildSessionFactoryOptions
SessionFactoryOptions buildSessionFactoryOptions()Build theSessionFactoryOptions
that will ultimately be passed to the constructor ofSessionFactoryImpl
.
-