Top Description Methods
org.hibernate.boot.spi

public Interface SessionFactoryBuilderImplementor

extends SessionFactoryBuilder
Known Direct Implementers
org.hibernate.boot.internal.SessionFactoryBuilderImpl, org.hibernate.boot.spi.AbstractDelegatingSessionFactoryBuilderImplementor
Imports
org.hibernate.boot.SessionFactoryBuilder

Additional SPI contract for SessionFactoryBuilder, mainly intended for implementors of SessionFactoryBuilderFactory.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public SessionFactoryOptions
buildSessionFactoryOptions()

Build the SessionFactoryOptions that will ultimately be passed to the constructor of org.hibernate.internal.SessionFactoryImpl.

public void
public default void
Inherited from org.hibernate.boot.SessionFactoryBuilder:
addEntityNameResolveraddSessionFactoryObserversallowOutOfTransactionUpdateOperationsapplyAutoClosingapplyAutoFlushingapplyAutomaticEvictionOfCollectionCachesapplyBatchFetchStyleapplyBeanManagerapplyCacheRegionPrefixapplyCollectionsInDefaultFetchGroupapplyConnectionHandlingModeapplyConnectionProviderDisablesAutoCommitapplyCurrentTenantIdentifierResolverapplyCustomEntityDirtinessStrategyapplyDefaultBatchFetchSizeapplyDefaultNullPrecedenceapplyDelayedEntityLoaderCreationsapplyDirectReferenceCachingapplyEntityNotFoundDelegateapplyGetGeneratedKeysSupportapplyIdentifierRollbackSupportapplyInterceptorapplyJdbcBatchingForVersionedEntitiesapplyJdbcBatchSizeapplyJdbcFetchSizeapplyJsonFormatMapperapplyJtaTrackingByThreadapplyLazyInitializationOutsideTransactionapplyMaximumFetchDepthapplyMinimalPutsForCachingapplyMultiTenancyapplyNameapplyNameAsJndiNameapplyNamedQueryCheckingOnStartupapplyNullabilityCheckingapplyOrderingOfInsertsapplyOrderingOfUpdatesapplyPreferUserTransactionsapplyQueryCacheSupportapplyScrollableResultsSupportapplySecondLevelCacheSupportapplySqlCommentsapplySqlFunctionapplyStatelessInterceptorapplyStatelessInterceptorapplyStatementInspectorapplyStatisticsSupportapplyStructuredCacheEntriesapplySubselectFetchEnabledapplyTempTableDdlTransactionHandlingapplyTimestampsCacheFactoryapplyValidatorFactoryapplyXmlFormatMapperbuildenableJpaClosedComplianceenableJpaListComplianceenableJpaOrderByMappingComplianceenableJpaQueryComplianceenableJpaTransactionComplianceenableReleaseResourcesOnCloseEnabled

Method Detail

buildSessionFactoryOptionsback to summary
public SessionFactoryOptions buildSessionFactoryOptions()

Build the SessionFactoryOptions that will ultimately be passed to the constructor of org.hibernate.internal.SessionFactoryImpl.

disableJtaTransactionAccessback to summary
public void disableJtaTransactionAccess()

Called if org.hibernate.cfg.AvailableSettings#ALLOW_JTA_TRANSACTION_ACCESS is not enabled.

disableRefreshDetachedEntityback to summary
public default void disableRefreshDetachedEntity()

Called if org.hibernate.cfg.AvailableSettings#ALLOW_REFRESH_DETACHED_ENTITY is not enabled.