Package org.hibernate.boot.spi
Interface SessionFactoryBuilderImplementor
-
- All Superinterfaces:
SessionFactoryBuilder
- All Known Implementing Classes:
AbstractDelegatingSessionFactoryBuilderImplementor
public interface SessionFactoryBuilderImplementor extends SessionFactoryBuilder
Additional contract for SessionFactoryBuilder mainly intended for implementors of SessionFactoryBuilderFactory.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description SessionFactoryOptions
buildSessionFactoryOptions()
Build the SessionFactoryOptions that will ultimately be passed to SessionFactoryImpl constructor.void
disableJtaTransactionAccess()
default void
disableRefreshDetachedEntity()
void
enableJdbcStyleParamsZeroBased()
void
markAsJpaBootstrap()
Deprecated.(since 5.2) In fact added in 5.2 as part of consolidating JPA support directly into Hibernate contracts (SessionFactory, Session); intended to provide transition help in cases where we need to know the difference in JPA/native use for various reasons.-
Methods inherited from interface org.hibernate.boot.SessionFactoryBuilder
addEntityNameResolver, addSessionFactoryObservers, allowOutOfTransactionUpdateOperations, applyAutoClosing, applyAutoFlushing, applyAutomaticEvictionOfCollectionCaches, applyBatchFetchStyle, applyBeanManager, applyCacheRegionPrefix, applyConnectionHandlingMode, applyConnectionProviderDisablesAutoCommit, applyConnectionReleaseMode, applyCurrentTenantIdentifierResolver, applyCustomEntityDirtinessStrategy, applyDefaultBatchFetchSize, applyDefaultEntityMode, applyDefaultNullPrecedence, applyDelayedEntityLoaderCreations, applyDirectReferenceCaching, applyEntityNotFoundDelegate, applyEntityTuplizer, applyEntityTuplizerFactory, applyGetGeneratedKeysSupport, applyIdentifierRollbackSupport, applyInterceptor, applyJdbcBatchingForVersionedEntities, applyJdbcBatchSize, applyJdbcFetchSize, applyJtaTrackingByThread, applyLazyInitializationOutsideTransaction, applyMaximumFetchDepth, applyMinimalPutsForCaching, applyMultiTableBulkIdStrategy, applyMultiTenancyStrategy, applyName, applyNameAsJndiName, applyNamedQueryCheckingOnStartup, applyNullabilityChecking, applyOrderingOfInserts, applyOrderingOfUpdates, applyPreferUserTransactions, applyQueryCacheSupport, applyQuerySubstitutions, applyResultSetsWrapping, applyScrollableResultsSupport, applySecondLevelCacheSupport, applySqlComments, applySqlFunction, applyStatelessInterceptor, applyStatelessInterceptor, applyStatementInspector, applyStatisticsSupport, applyStrictJpaQueryLanguageCompliance, applyStructuredCacheEntries, applyTempTableDdlTransactionHandling, applyTimestampsCacheFactory, applyValidatorFactory, build, enableJpaClosedCompliance, enableJpaListCompliance, enableJpaQueryCompliance, enableJpaTransactionCompliance, enableReleaseResourcesOnCloseEnabled, unwrap
-
-
-
-
Method Detail
-
markAsJpaBootstrap
@Deprecated void markAsJpaBootstrap()
Deprecated.(since 5.2) In fact added in 5.2 as part of consolidating JPA support directly into Hibernate contracts (SessionFactory, Session); intended to provide transition help in cases where we need to know the difference in JPA/native use for various reasons. UseBootstrapContext.markAsJpaBootstrap()
Indicates that the SessionFactory being built comes from JPA bootstrapping. Internallyfalse
is the assumed value. We only need to call this to mark that as true.
-
disableJtaTransactionAccess
void disableJtaTransactionAccess()
-
disableRefreshDetachedEntity
default void disableRefreshDetachedEntity()
-
enableJdbcStyleParamsZeroBased
void enableJdbcStyleParamsZeroBased()
-
buildSessionFactoryOptions
SessionFactoryOptions buildSessionFactoryOptions()
Build the SessionFactoryOptions that will ultimately be passed to SessionFactoryImpl constructor.- Returns:
- The options.
-
-