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 SessionFactoryBuilderImplementorpublic abstract class AbstractDelegatingSessionFactoryBuilderImplementor<T extends SessionFactoryBuilderImplementor> extends AbstractDelegatingSessionFactoryBuilder<T> implements SessionFactoryBuilderImplementor
SessionFactoryBuilderImplementor, using delegation| Constructor 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, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdisableRefreshDetachedEntityaddEntityNameResolver, 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, unwrappublic AbstractDelegatingSessionFactoryBuilderImplementor(SessionFactoryBuilderImplementor delegate)
protected SessionFactoryBuilderImplementor delegate()
delegate in class AbstractDelegatingSessionFactoryBuilder<T extends SessionFactoryBuilderImplementor>public void markAsJpaBootstrap()
SessionFactoryBuilderImplementorfalse is the assumed value. We only need to call this to
mark that as true.markAsJpaBootstrap in interface SessionFactoryBuilderImplementorpublic void disableJtaTransactionAccess()
disableJtaTransactionAccess in interface SessionFactoryBuilderImplementorpublic void enableJdbcStyleParamsZeroBased()
enableJdbcStyleParamsZeroBased in interface SessionFactoryBuilderImplementorAvailableSettings.JDBC_TYLE_PARAMS_ZERO_BASEpublic SessionFactoryOptions buildSessionFactoryOptions()
SessionFactoryBuilderImplementorbuildSessionFactoryOptions in interface SessionFactoryBuilderImplementorCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.