public interface SessionFactoryBuilderImplementor extends SessionFactoryBuilder
Additional contract for SessionFactoryBuilder mainly intended for implementors of SessionFactoryBuilderFactory.
Modifier and Type | Method and 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.
Use
BootstrapContext.markAsJpaBootstrap() |
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
@Deprecated void markAsJpaBootstrap()
BootstrapContext.markAsJpaBootstrap()
Indicates that the SessionFactory being built comes from JPA bootstrapping.
Internally false
is the assumed value. We only need to call this to
mark that as true.
void disableJtaTransactionAccess()
default void disableRefreshDetachedEntity()
void enableJdbcStyleParamsZeroBased()
SessionFactoryOptions buildSessionFactoryOptions()
Build the SessionFactoryOptions that will ultimately be passed to SessionFactoryImpl constructor.
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.