T
- The type of a specific sub-class; Allows sub-classes to narrow down the return-type of the contract methods
to a specialization of SessionFactoryBuilderImplementor
public abstract class AbstractDelegatingSessionFactoryBuilderImplementor<T extends SessionFactoryBuilderImplementor> extends AbstractDelegatingSessionFactoryBuilder<T> implements SessionFactoryBuilderImplementor
SessionFactoryBuilderImplementor
, using delegationConstructor and Description |
---|
AbstractDelegatingSessionFactoryBuilderImplementor(SessionFactoryBuilderImplementor delegate) |
Modifier and Type | Method and Description |
---|---|
SessionFactoryOptions |
buildSessionFactoryOptions()
Build the SessionFactoryOptions that will ultimately be passed to SessionFactoryImpl constructor.
|
protected SessionFactoryBuilderImplementor |
delegate() |
void |
disableJtaTransactionAccess() |
void |
enableJdbcStyleParamsZeroBased() |
void |
markAsJpaBootstrap()
Indicates that the SessionFactory being built comes from JPA bootstrapping.
|
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, getThis, unwrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
disableRefreshDetachedEntity
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
public AbstractDelegatingSessionFactoryBuilderImplementor(SessionFactoryBuilderImplementor delegate)
protected SessionFactoryBuilderImplementor delegate()
delegate
in class AbstractDelegatingSessionFactoryBuilder<T extends SessionFactoryBuilderImplementor>
public void markAsJpaBootstrap()
SessionFactoryBuilderImplementor
false
is the assumed value. We only need to call this to
mark that as true.markAsJpaBootstrap
in interface SessionFactoryBuilderImplementor
public void disableJtaTransactionAccess()
disableJtaTransactionAccess
in interface SessionFactoryBuilderImplementor
public void enableJdbcStyleParamsZeroBased()
enableJdbcStyleParamsZeroBased
in interface SessionFactoryBuilderImplementor
AvailableSettings.JDBC_TYLE_PARAMS_ZERO_BASE
public SessionFactoryOptions buildSessionFactoryOptions()
SessionFactoryBuilderImplementor
buildSessionFactoryOptions
in interface SessionFactoryBuilderImplementor
Copyright © 2019 JBoss by Red Hat. All rights reserved.