Package org.hibernate.boot.spi
Class AbstractDelegatingSessionFactoryBuilderImplementor<T extends SessionFactoryBuilderImplementor>
- java.lang.Object
-
- org.hibernate.boot.spi.AbstractDelegatingSessionFactoryBuilder<T>
-
- org.hibernate.boot.spi.AbstractDelegatingSessionFactoryBuilderImplementor<T>
-
- Type Parameters:
T- The type of a specific sub-class; Allows sub-classes to narrow down the return-type of the contract methods to a specialization ofSessionFactoryBuilderImplementor
- All Implemented Interfaces:
SessionFactoryBuilder,SessionFactoryBuilderImplementor
public abstract class AbstractDelegatingSessionFactoryBuilderImplementor<T extends SessionFactoryBuilderImplementor> extends AbstractDelegatingSessionFactoryBuilder<T> implements SessionFactoryBuilderImplementor
Convenience base class for custom implementors ofSessionFactoryBuilderImplementor, using delegation
-
-
Constructor Summary
Constructors Constructor Description AbstractDelegatingSessionFactoryBuilderImplementor(SessionFactoryBuilderImplementor delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SessionFactoryOptionsbuildSessionFactoryOptions()Build the SessionFactoryOptions that will ultimately be passed to SessionFactoryImpl constructor.protected SessionFactoryBuilderImplementordelegate()voiddisableJtaTransactionAccess()voidenableJdbcStyleParamsZeroBased()-
Methods inherited from class org.hibernate.boot.spi.AbstractDelegatingSessionFactoryBuilder
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
-
Methods inherited from interface org.hibernate.boot.spi.SessionFactoryBuilderImplementor
disableRefreshDetachedEntity
-
-
-
-
Constructor Detail
-
AbstractDelegatingSessionFactoryBuilderImplementor
public AbstractDelegatingSessionFactoryBuilderImplementor(SessionFactoryBuilderImplementor delegate)
-
-
Method Detail
-
delegate
protected SessionFactoryBuilderImplementor delegate()
- Overrides:
delegatein classAbstractDelegatingSessionFactoryBuilder<T extends SessionFactoryBuilderImplementor>
-
disableJtaTransactionAccess
public void disableJtaTransactionAccess()
- Specified by:
disableJtaTransactionAccessin interfaceSessionFactoryBuilderImplementor
-
enableJdbcStyleParamsZeroBased
public void enableJdbcStyleParamsZeroBased()
- Specified by:
enableJdbcStyleParamsZeroBasedin interfaceSessionFactoryBuilderImplementor- See Also:
AvailableSettings.JDBC_TYLE_PARAMS_ZERO_BASE
-
buildSessionFactoryOptions
public SessionFactoryOptions buildSessionFactoryOptions()
Description copied from interface:SessionFactoryBuilderImplementorBuild the SessionFactoryOptions that will ultimately be passed to SessionFactoryImpl constructor.- Specified by:
buildSessionFactoryOptionsin interfaceSessionFactoryBuilderImplementor- Returns:
- The options.
-
-