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 specific subclass; Allows subclasses to narrow the return type of the contract methods to a specialization ofMetadataBuilderImplementor
.
- 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 SessionFactoryOptions
buildSessionFactoryOptions()
Build theSessionFactoryOptions
that will ultimately be passed to the constructor ofSessionFactoryImpl
.protected SessionFactoryBuilderImplementor
delegate()
void
disableJtaTransactionAccess()
Called ifTransactionSettings.ALLOW_JTA_TRANSACTION_ACCESS
is not enabled.-
Methods inherited from class org.hibernate.boot.spi.AbstractDelegatingSessionFactoryBuilder
addEntityNameResolver, addSessionFactoryObservers, allowOutOfTransactionUpdateOperations, applyAutoClosing, applyAutoFlushing, applyAutomaticEvictionOfCollectionCaches, applyBatchFetchStyle, applyBeanManager, applyCacheRegionPrefix, applyCollectionsInDefaultFetchGroup, applyConnectionHandlingMode, applyConnectionProviderDisablesAutoCommit, applyCurrentTenantIdentifierResolver, applyCustomEntityDirtinessStrategy, applyDefaultBatchFetchSize, applyDefaultNullPrecedence, applyDelayedEntityLoaderCreations, applyDirectReferenceCaching, applyEntityNotFoundDelegate, applyGetGeneratedKeysSupport, applyIdentifierRollbackSupport, applyInterceptor, applyJdbcBatchingForVersionedEntities, applyJdbcBatchSize, applyJdbcFetchSize, applyJsonFormatMapper, applyJtaTrackingByThread, applyLazyInitializationOutsideTransaction, applyMaximumFetchDepth, applyMinimalPutsForCaching, applyMultiTenancy, applyName, applyNameAsJndiName, applyNamedQueryCheckingOnStartup, applyNullabilityChecking, applyOrderingOfInserts, applyOrderingOfUpdates, applyPreferUserTransactions, applyQueryCacheLayout, applyQueryCacheSupport, applyScrollableResultsSupport, applySecondLevelCacheSupport, applySqlComments, applySqlFunction, applyStatelessInterceptor, applyStatelessInterceptor, applyStatementInspector, applyStatisticsSupport, applyStructuredCacheEntries, applySubselectFetchEnabled, applyTempTableDdlTransactionHandling, applyTimestampsCacheFactory, applyValidatorFactory, applyXmlFormatMapper, build, enableJpaCascadeCompliance, enableJpaClosedCompliance, enableJpaListCompliance, enableJpaOrderByMappingCompliance, enableJpaQueryCompliance, enableJpaTransactionCompliance, enableReleaseResourcesOnCloseEnabled, getThis
-
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, applyCollectionsInDefaultFetchGroup, applyConnectionHandlingMode, applyConnectionProviderDisablesAutoCommit, applyCurrentTenantIdentifierResolver, applyCustomEntityDirtinessStrategy, applyDefaultBatchFetchSize, applyDefaultNullPrecedence, applyDelayedEntityLoaderCreations, applyDirectReferenceCaching, applyEntityNotFoundDelegate, applyGetGeneratedKeysSupport, applyIdentifierRollbackSupport, applyInterceptor, applyJdbcBatchingForVersionedEntities, applyJdbcBatchSize, applyJdbcFetchSize, applyJsonFormatMapper, applyJtaTrackingByThread, applyLazyInitializationOutsideTransaction, applyMaximumFetchDepth, applyMinimalPutsForCaching, applyMultiTenancy, applyName, applyNameAsJndiName, applyNamedQueryCheckingOnStartup, applyNullabilityChecking, applyOrderingOfInserts, applyOrderingOfUpdates, applyPreferUserTransactions, applyQueryCacheLayout, applyQueryCacheSupport, applyScrollableResultsSupport, applySecondLevelCacheSupport, applySqlComments, applySqlFunction, applyStatelessInterceptor, applyStatelessInterceptor, applyStatementInspector, applyStatisticsSupport, applyStructuredCacheEntries, applySubselectFetchEnabled, applyTempTableDdlTransactionHandling, applyTimestampsCacheFactory, applyValidatorFactory, applyXmlFormatMapper, build, enableJpaCascadeCompliance, enableJpaClosedCompliance, enableJpaListCompliance, enableJpaOrderByMappingCompliance, enableJpaQueryCompliance, enableJpaTransactionCompliance, enableReleaseResourcesOnCloseEnabled
-
Methods inherited from interface org.hibernate.boot.spi.SessionFactoryBuilderImplementor
disableRefreshDetachedEntity
-
-
-
-
Constructor Detail
-
AbstractDelegatingSessionFactoryBuilderImplementor
public AbstractDelegatingSessionFactoryBuilderImplementor(SessionFactoryBuilderImplementor delegate)
-
-
Method Detail
-
delegate
protected SessionFactoryBuilderImplementor delegate()
- Overrides:
delegate
in classAbstractDelegatingSessionFactoryBuilder<T extends SessionFactoryBuilderImplementor>
-
disableJtaTransactionAccess
public void disableJtaTransactionAccess()
Description copied from interface:SessionFactoryBuilderImplementor
Called ifTransactionSettings.ALLOW_JTA_TRANSACTION_ACCESS
is not enabled.- Specified by:
disableJtaTransactionAccess
in interfaceSessionFactoryBuilderImplementor
-
buildSessionFactoryOptions
public SessionFactoryOptions buildSessionFactoryOptions()
Description copied from interface:SessionFactoryBuilderImplementor
Build theSessionFactoryOptions
that will ultimately be passed to the constructor ofSessionFactoryImpl
.- Specified by:
buildSessionFactoryOptions
in interfaceSessionFactoryBuilderImplementor
-
-