public class AbstractDelegatingSessionFactoryOptions extends Object implements SessionFactoryOptions
Convenience base class for custom implementors of SessionFactoryOptions, using delegation
| Constructor and Description |
|---|
AbstractDelegatingSessionFactoryOptions(SessionFactoryOptions delegate) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisStrictJpaQueryLanguageCompliancepublic AbstractDelegatingSessionFactoryOptions(SessionFactoryOptions delegate)
protected SessionFactoryOptions delegate()
public String getUuid()
SessionFactoryOptionsGet the UUID unique to this SessionFactoryOptions. Will be the
same value available as SessionFactoryImplementor.getUuid().
getUuid in interface SessionFactoryOptionsSessionFactoryRegistry.getSessionFactory(java.lang.String),
SessionFactoryImplementor.getUuid()public StandardServiceRegistry getServiceRegistry()
SessionFactoryOptionsThe service registry to use in building the factory.
getServiceRegistry in interface SessionFactoryOptionspublic boolean isJpaBootstrap()
SessionFactoryOptionsWas building of the SessionFactory initiated through JPA bootstrapping, or through Hibernate’s native bootstrapping?
isJpaBootstrap in interface SessionFactoryOptionstrue indicates the SessionFactory was built through JPA
bootstrapping; false indicates it was built through native bootstrapping.public boolean isJtaTransactionAccessEnabled()
isJtaTransactionAccessEnabled in interface SessionFactoryOptionspublic boolean isAllowRefreshDetachedEntity()
isAllowRefreshDetachedEntity in interface SessionFactoryOptionspublic Object getBeanManagerReference()
getBeanManagerReference in interface SessionFactoryOptionspublic Object getValidatorFactoryReference()
getValidatorFactoryReference in interface SessionFactoryOptionspublic String getSessionFactoryName()
SessionFactoryOptionsThe name to be used for the SessionFactory. This is use both in:<ul>
<li>in-VM serialization</li>
<li>JNDI binding, depending on SessionFactoryOptions.isSessionFactoryNameAlsoJndiName()</li>
</ul>
getSessionFactoryName in interface SessionFactoryOptionspublic boolean isSessionFactoryNameAlsoJndiName()
SessionFactoryOptionsIs the SesssionFactory name also a JNDI name, indicating we
should bind it into JNDI?
isSessionFactoryNameAlsoJndiName in interface SessionFactoryOptionstrue if the SessionFactory name is also a JNDI name; false otherwise.public boolean isFlushBeforeCompletionEnabled()
isFlushBeforeCompletionEnabled in interface SessionFactoryOptionspublic boolean isAutoCloseSessionEnabled()
isAutoCloseSessionEnabled in interface SessionFactoryOptionspublic boolean isStatisticsEnabled()
isStatisticsEnabled in interface SessionFactoryOptionspublic Interceptor getInterceptor()
SessionFactoryOptionsGet the interceptor to use by default for all sessions opened from this factory.
getInterceptor in interface SessionFactoryOptionsnullpublic StatementInspector getStatementInspector()
getStatementInspector in interface SessionFactoryOptionspublic SessionFactoryObserver[] getSessionFactoryObservers()
getSessionFactoryObservers in interface SessionFactoryOptionspublic BaselineSessionEventsListenerBuilder getBaselineSessionEventsListenerBuilder()
getBaselineSessionEventsListenerBuilder in interface SessionFactoryOptionspublic boolean isIdentifierRollbackEnabled()
isIdentifierRollbackEnabled in interface SessionFactoryOptionspublic EntityMode getDefaultEntityMode()
getDefaultEntityMode in interface SessionFactoryOptionspublic EntityTuplizerFactory getEntityTuplizerFactory()
getEntityTuplizerFactory in interface SessionFactoryOptionspublic boolean isCheckNullability()
isCheckNullability in interface SessionFactoryOptionspublic boolean isInitializeLazyStateOutsideTransactionsEnabled()
isInitializeLazyStateOutsideTransactionsEnabled in interface SessionFactoryOptionspublic MultiTableBulkIdStrategy getMultiTableBulkIdStrategy()
getMultiTableBulkIdStrategy in interface SessionFactoryOptionspublic TempTableDdlTransactionHandling getTempTableDdlTransactionHandling()
getTempTableDdlTransactionHandling in interface SessionFactoryOptionspublic BatchFetchStyle getBatchFetchStyle()
getBatchFetchStyle in interface SessionFactoryOptionspublic boolean isDelayBatchFetchLoaderCreationsEnabled()
isDelayBatchFetchLoaderCreationsEnabled in interface SessionFactoryOptionspublic int getDefaultBatchFetchSize()
getDefaultBatchFetchSize in interface SessionFactoryOptionspublic Integer getMaximumFetchDepth()
getMaximumFetchDepth in interface SessionFactoryOptionspublic NullPrecedence getDefaultNullPrecedence()
getDefaultNullPrecedence in interface SessionFactoryOptionspublic boolean isOrderUpdatesEnabled()
isOrderUpdatesEnabled in interface SessionFactoryOptionspublic boolean isOrderInsertsEnabled()
isOrderInsertsEnabled in interface SessionFactoryOptionspublic MultiTenancyStrategy getMultiTenancyStrategy()
getMultiTenancyStrategy in interface SessionFactoryOptionspublic CurrentTenantIdentifierResolver getCurrentTenantIdentifierResolver()
getCurrentTenantIdentifierResolver in interface SessionFactoryOptionspublic boolean isJtaTrackByThread()
isJtaTrackByThread in interface SessionFactoryOptionspublic Map getQuerySubstitutions()
getQuerySubstitutions in interface SessionFactoryOptionspublic boolean isNamedQueryStartupCheckingEnabled()
isNamedQueryStartupCheckingEnabled in interface SessionFactoryOptionspublic boolean isConventionalJavaConstants()
isConventionalJavaConstants in interface SessionFactoryOptionspublic boolean isProcedureParameterNullPassingEnabled()
isProcedureParameterNullPassingEnabled in interface SessionFactoryOptionspublic boolean isCollectionJoinSubqueryRewriteEnabled()
isCollectionJoinSubqueryRewriteEnabled in interface SessionFactoryOptionspublic boolean isAllowOutOfTransactionUpdateOperations()
isAllowOutOfTransactionUpdateOperations in interface SessionFactoryOptionspublic boolean isReleaseResourcesOnCloseEnabled()
isReleaseResourcesOnCloseEnabled in interface SessionFactoryOptionspublic boolean isSecondLevelCacheEnabled()
isSecondLevelCacheEnabled in interface SessionFactoryOptionspublic boolean isQueryCacheEnabled()
isQueryCacheEnabled in interface SessionFactoryOptionspublic TimestampsCacheFactory getTimestampsCacheFactory()
getTimestampsCacheFactory in interface SessionFactoryOptionspublic String getCacheRegionPrefix()
getCacheRegionPrefix in interface SessionFactoryOptionspublic boolean isMinimalPutsEnabled()
isMinimalPutsEnabled in interface SessionFactoryOptionspublic boolean isStructuredCacheEntriesEnabled()
isStructuredCacheEntriesEnabled in interface SessionFactoryOptionspublic boolean isDirectReferenceCacheEntriesEnabled()
isDirectReferenceCacheEntriesEnabled in interface SessionFactoryOptionspublic boolean isAutoEvictCollectionCache()
isAutoEvictCollectionCache in interface SessionFactoryOptionspublic SchemaAutoTooling getSchemaAutoTooling()
getSchemaAutoTooling in interface SessionFactoryOptionspublic int getJdbcBatchSize()
getJdbcBatchSize in interface SessionFactoryOptionspublic boolean isJdbcBatchVersionedData()
isJdbcBatchVersionedData in interface SessionFactoryOptionspublic boolean isScrollableResultSetsEnabled()
isScrollableResultSetsEnabled in interface SessionFactoryOptionspublic boolean isWrapResultSetsEnabled()
isWrapResultSetsEnabled in interface SessionFactoryOptionspublic boolean isGetGeneratedKeysEnabled()
isGetGeneratedKeysEnabled in interface SessionFactoryOptionspublic Integer getJdbcFetchSize()
getJdbcFetchSize in interface SessionFactoryOptionspublic PhysicalConnectionHandlingMode getPhysicalConnectionHandlingMode()
getPhysicalConnectionHandlingMode in interface SessionFactoryOptionspublic boolean doesConnectionProviderDisableAutoCommit()
doesConnectionProviderDisableAutoCommit in interface SessionFactoryOptionspublic ConnectionReleaseMode getConnectionReleaseMode()
getConnectionReleaseMode in interface SessionFactoryOptionspublic boolean isCommentsEnabled()
isCommentsEnabled in interface SessionFactoryOptionspublic CustomEntityDirtinessStrategy getCustomEntityDirtinessStrategy()
getCustomEntityDirtinessStrategy in interface SessionFactoryOptionspublic EntityNameResolver[] getEntityNameResolvers()
getEntityNameResolvers in interface SessionFactoryOptionspublic EntityNotFoundDelegate getEntityNotFoundDelegate()
SessionFactoryOptionsGet the delegate for handling entity-not-found exception conditions.
getEntityNotFoundDelegate in interface SessionFactoryOptionsnullpublic Map<String,SQLFunction> getCustomSqlFunctionMap()
getCustomSqlFunctionMap in interface SessionFactoryOptionspublic void setCheckNullability(boolean enabled)
setCheckNullability in interface SessionFactoryOptionspublic boolean isPreferUserTransaction()
isPreferUserTransaction in interface SessionFactoryOptionspublic Class<? extends Interceptor> getStatelessInterceptorImplementor()
SessionFactoryOptionsGet the interceptor to use by default for all sessions opened from this factory.
getStatelessInterceptorImplementor in interface SessionFactoryOptionsnullpublic Supplier<? extends Interceptor> getStatelessInterceptorImplementorSupplier()
SessionFactoryOptionsGet the interceptor to use by default for all sessions opened from this factory.
getStatelessInterceptorImplementorSupplier in interface SessionFactoryOptionsnullpublic TimeZone getJdbcTimeZone()
getJdbcTimeZone in interface SessionFactoryOptionspublic boolean isQueryParametersValidationEnabled()
isQueryParametersValidationEnabled in interface SessionFactoryOptionspublic LiteralHandlingMode getCriteriaLiteralHandlingMode()
getCriteriaLiteralHandlingMode in interface SessionFactoryOptionspublic boolean jdbcStyleParamsZeroBased()
jdbcStyleParamsZeroBased in interface SessionFactoryOptionspublic JpaCompliance getJpaCompliance()
getJpaCompliance in interface SessionFactoryOptionspublic boolean isFailOnPaginationOverCollectionFetchEnabled()
isFailOnPaginationOverCollectionFetchEnabled in interface SessionFactoryOptionspublic ImmutableEntityUpdateQueryHandlingMode getImmutableEntityUpdateQueryHandlingMode()
getImmutableEntityUpdateQueryHandlingMode in interface SessionFactoryOptionspublic boolean inClauseParameterPaddingEnabled()
inClauseParameterPaddingEnabled in interface SessionFactoryOptionsCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.