Interface SessionFactoryBuilderImplementor
- All Superinterfaces:
SessionFactoryBuilder
- All Known Implementing Classes:
AbstractDelegatingSessionFactoryBuilderImplementor
Additional SPI contract for
SessionFactoryBuilder, mainly intended for
implementors of SessionFactoryBuilderFactory.- API Note:
- This will be removed in 9.0.
-
Method Summary
Modifier and TypeMethodDescriptionBuild theSessionFactoryOptionsthat will ultimately be passed to the constructor ofSessionFactoryImpl.voidCalled ifTransactionSettings.ALLOW_JTA_TRANSACTION_ACCESSis not enabled.Methods inherited from interface SessionFactoryBuilder
addEntityNameResolver, addSessionFactoryObservers, allowOutOfTransactionUpdateOperations, applyAuditStrategy, applyAutoClosing, applyAutoFlushing, applyAutomaticEvictionOfCollectionCaches, applyBeanManager, applyCacheRegionPrefix, applyCollectionsInDefaultFetchGroup, applyConnectionHandlingMode, applyConnectionProviderDisablesAutoCommit, applyCurrentTenantIdentifierResolver, applyCustomEntityDirtinessStrategy, applyDefaultBatchFetchSize, applyDefaultNullPrecedence, applyDirectReferenceCaching, applyEntityNotFoundDelegate, applyGetGeneratedKeysSupport, applyIdentifierRollbackSupport, applyInterceptor, applyJdbcBatchSize, applyJdbcFetchSize, applyJsonFormatMapper, applyJtaTrackingByThread, applyLazyInitializationOutsideTransaction, applyMaximumFetchDepth, applyMinimalPutsForCaching, applyMultiTenancy, applyName, applyNameAsJndiName, applyNamedQueryCheckingOnStartup, applyNullabilityChecking, applyOrderingOfInserts, applyOrderingOfUpdates, applyPreferUserTransactions, applyQueryCacheLayout, applyQueryCacheSupport, applyScrollableResultsSupport, applySecondLevelCacheSupport, applySqlComments, applySqlFunction, applyStatelessInterceptor, applyStatelessInterceptor, applyStatementInspector, applyStatementObserver, applyStatisticsSupport, applyStructuredCacheEntries, applySubselectFetchEnabled, applyTemporalTableStrategy, applyTenantCredentialsMapper, applyTenantSchemaMapper, applyTimestampsCacheFactory, applyValidatorFactory, applyXmlFormatMapper, build, enableJpaClosedCompliance, enableJpaOrderByMappingCompliance, enableJpaQueryCompliance, enableJpaTransactionCompliance
-
Method Details
-
disableJtaTransactionAccess
void disableJtaTransactionAccess()Called ifTransactionSettings.ALLOW_JTA_TRANSACTION_ACCESSis not enabled. -
buildSessionFactoryOptions
SessionFactoryOptions buildSessionFactoryOptions()Build theSessionFactoryOptionsthat will ultimately be passed to the constructor ofSessionFactoryImpl.
-