类 AbstractDelegatingSessionFactoryOptions
- java.lang.Object
-
- org.hibernate.boot.spi.AbstractDelegatingSessionFactoryOptions
-
- 所有已实现的接口:
SessionFactoryOptions
public class AbstractDelegatingSessionFactoryOptions extends Object implements SessionFactoryOptions
Convenience base class for custom implementors of SessionFactoryOptions, using delegation- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 AbstractDelegatingSessionFactoryOptions(SessionFactoryOptions delegate)
-
方法概要
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.boot.spi.SessionFactoryOptions
isPostInsertIdentifierDelayableEnabled, isStrictJpaQueryLanguageCompliance
-
-
-
-
构造器详细资料
-
AbstractDelegatingSessionFactoryOptions
public AbstractDelegatingSessionFactoryOptions(SessionFactoryOptions delegate)
-
-
方法详细资料
-
delegate
protected SessionFactoryOptions delegate()
-
getUuid
public String getUuid()
从接口复制的说明:SessionFactoryOptionsGet the UUID unique to this SessionFactoryOptions. Will be the same value available asSessionFactoryImplementor.getUuid().- 指定者:
getUuid在接口中SessionFactoryOptions- 返回:
- The UUID for this SessionFactory.
- 另请参阅:
SessionFactoryRegistry.getSessionFactory(java.lang.String),SessionFactoryImplementor.getUuid()
-
getServiceRegistry
public StandardServiceRegistry getServiceRegistry()
从接口复制的说明:SessionFactoryOptionsThe service registry to use in building the factory.- 指定者:
getServiceRegistry在接口中SessionFactoryOptions- 返回:
- The service registry to use.
-
isJpaBootstrap
public boolean isJpaBootstrap()
从接口复制的说明:SessionFactoryOptionsWas building of the SessionFactory initiated through JPA bootstrapping, or through Hibernate's native bootstrapping?- 指定者:
isJpaBootstrap在接口中SessionFactoryOptions- 返回:
trueindicates the SessionFactory was built through JPA bootstrapping;falseindicates it was built through native bootstrapping.
-
isJtaTransactionAccessEnabled
public boolean isJtaTransactionAccessEnabled()
-
isAllowRefreshDetachedEntity
public boolean isAllowRefreshDetachedEntity()
-
getBeanManagerReference
public Object getBeanManagerReference()
- 指定者:
getBeanManagerReference在接口中SessionFactoryOptions
-
getValidatorFactoryReference
public Object getValidatorFactoryReference()
-
getSessionFactoryName
public String getSessionFactoryName()
从接口复制的说明:SessionFactoryOptionsThe name to be used for the SessionFactory. This is used both in:- in-VM serialization
- JNDI binding, depending on
SessionFactoryOptions.isSessionFactoryNameAlsoJndiName()
- 指定者:
getSessionFactoryName在接口中SessionFactoryOptions- 返回:
- The SessionFactory name
-
isSessionFactoryNameAlsoJndiName
public boolean isSessionFactoryNameAlsoJndiName()
从接口复制的说明:SessionFactoryOptionsIs theSesssionFactory namealso a JNDI name, indicating we should bind it into JNDI?- 指定者:
isSessionFactoryNameAlsoJndiName在接口中SessionFactoryOptions- 返回:
trueif the SessionFactory name is also a JNDI name;falseotherwise.
-
isFlushBeforeCompletionEnabled
public boolean isFlushBeforeCompletionEnabled()
-
isAutoCloseSessionEnabled
public boolean isAutoCloseSessionEnabled()
-
isStatisticsEnabled
public boolean isStatisticsEnabled()
- 指定者:
isStatisticsEnabled在接口中SessionFactoryOptions
-
getInterceptor
public Interceptor getInterceptor()
从接口复制的说明:SessionFactoryOptionsGet the interceptor to use by default for all sessions opened from this factory.- 指定者:
getInterceptor在接口中SessionFactoryOptions- 返回:
- The interceptor to use factory wide. May be
null
-
getStatementInspector
public StatementInspector getStatementInspector()
- 指定者:
getStatementInspector在接口中SessionFactoryOptions
-
getSessionFactoryObservers
public SessionFactoryObserver[] getSessionFactoryObservers()
-
getBaselineSessionEventsListenerBuilder
public BaselineSessionEventsListenerBuilder getBaselineSessionEventsListenerBuilder()
-
isIdentifierRollbackEnabled
public boolean isIdentifierRollbackEnabled()
-
getDefaultEntityMode
public EntityMode getDefaultEntityMode()
- 指定者:
getDefaultEntityMode在接口中SessionFactoryOptions
-
getEntityTuplizerFactory
public EntityTuplizerFactory getEntityTuplizerFactory()
-
isCheckNullability
public boolean isCheckNullability()
- 指定者:
isCheckNullability在接口中SessionFactoryOptions
-
isInitializeLazyStateOutsideTransactionsEnabled
public boolean isInitializeLazyStateOutsideTransactionsEnabled()
-
getMultiTableBulkIdStrategy
public MultiTableBulkIdStrategy getMultiTableBulkIdStrategy()
-
getTempTableDdlTransactionHandling
public TempTableDdlTransactionHandling getTempTableDdlTransactionHandling()
-
getBatchFetchStyle
public BatchFetchStyle getBatchFetchStyle()
- 指定者:
getBatchFetchStyle在接口中SessionFactoryOptions
-
isDelayBatchFetchLoaderCreationsEnabled
public boolean isDelayBatchFetchLoaderCreationsEnabled()
-
getDefaultBatchFetchSize
public int getDefaultBatchFetchSize()
-
getMaximumFetchDepth
public Integer getMaximumFetchDepth()
- 指定者:
getMaximumFetchDepth在接口中SessionFactoryOptions
-
getDefaultNullPrecedence
public NullPrecedence getDefaultNullPrecedence()
-
isOrderUpdatesEnabled
public boolean isOrderUpdatesEnabled()
- 指定者:
isOrderUpdatesEnabled在接口中SessionFactoryOptions
-
isOrderInsertsEnabled
public boolean isOrderInsertsEnabled()
- 指定者:
isOrderInsertsEnabled在接口中SessionFactoryOptions
-
getMultiTenancyStrategy
public MultiTenancyStrategy getMultiTenancyStrategy()
- 指定者:
getMultiTenancyStrategy在接口中SessionFactoryOptions
-
getCurrentTenantIdentifierResolver
public CurrentTenantIdentifierResolver getCurrentTenantIdentifierResolver()
-
isJtaTrackByThread
public boolean isJtaTrackByThread()
- 指定者:
isJtaTrackByThread在接口中SessionFactoryOptions
-
getQuerySubstitutions
public Map getQuerySubstitutions()
- 指定者:
getQuerySubstitutions在接口中SessionFactoryOptions
-
isNamedQueryStartupCheckingEnabled
public boolean isNamedQueryStartupCheckingEnabled()
-
isConventionalJavaConstants
public boolean isConventionalJavaConstants()
-
isProcedureParameterNullPassingEnabled
public boolean isProcedureParameterNullPassingEnabled()
-
isCollectionJoinSubqueryRewriteEnabled
public boolean isCollectionJoinSubqueryRewriteEnabled()
-
isAllowOutOfTransactionUpdateOperations
public boolean isAllowOutOfTransactionUpdateOperations()
-
isReleaseResourcesOnCloseEnabled
public boolean isReleaseResourcesOnCloseEnabled()
-
isSecondLevelCacheEnabled
public boolean isSecondLevelCacheEnabled()
-
isQueryCacheEnabled
public boolean isQueryCacheEnabled()
- 指定者:
isQueryCacheEnabled在接口中SessionFactoryOptions
-
getTimestampsCacheFactory
public TimestampsCacheFactory getTimestampsCacheFactory()
-
getCacheRegionPrefix
public String getCacheRegionPrefix()
- 指定者:
getCacheRegionPrefix在接口中SessionFactoryOptions
-
isMinimalPutsEnabled
public boolean isMinimalPutsEnabled()
- 指定者:
isMinimalPutsEnabled在接口中SessionFactoryOptions
-
isStructuredCacheEntriesEnabled
public boolean isStructuredCacheEntriesEnabled()
-
isDirectReferenceCacheEntriesEnabled
public boolean isDirectReferenceCacheEntriesEnabled()
-
isAutoEvictCollectionCache
public boolean isAutoEvictCollectionCache()
-
getSchemaAutoTooling
public SchemaAutoTooling getSchemaAutoTooling()
- 指定者:
getSchemaAutoTooling在接口中SessionFactoryOptions
-
getJdbcBatchSize
public int getJdbcBatchSize()
- 指定者:
getJdbcBatchSize在接口中SessionFactoryOptions
-
isJdbcBatchVersionedData
public boolean isJdbcBatchVersionedData()
-
isScrollableResultSetsEnabled
public boolean isScrollableResultSetsEnabled()
-
isWrapResultSetsEnabled
public boolean isWrapResultSetsEnabled()
- 指定者:
isWrapResultSetsEnabled在接口中SessionFactoryOptions
-
isGetGeneratedKeysEnabled
public boolean isGetGeneratedKeysEnabled()
-
getJdbcFetchSize
public Integer getJdbcFetchSize()
- 指定者:
getJdbcFetchSize在接口中SessionFactoryOptions
-
getPhysicalConnectionHandlingMode
public PhysicalConnectionHandlingMode getPhysicalConnectionHandlingMode()
-
doesConnectionProviderDisableAutoCommit
public boolean doesConnectionProviderDisableAutoCommit()
-
getConnectionReleaseMode
public ConnectionReleaseMode getConnectionReleaseMode()
-
isCommentsEnabled
public boolean isCommentsEnabled()
- 指定者:
isCommentsEnabled在接口中SessionFactoryOptions
-
getCustomEntityDirtinessStrategy
public CustomEntityDirtinessStrategy getCustomEntityDirtinessStrategy()
-
getEntityNameResolvers
public EntityNameResolver[] getEntityNameResolvers()
- 指定者:
getEntityNameResolvers在接口中SessionFactoryOptions
-
getEntityNotFoundDelegate
public EntityNotFoundDelegate getEntityNotFoundDelegate()
从接口复制的说明:SessionFactoryOptionsGet the delegate for handling entity-not-found exception conditions.- 指定者:
getEntityNotFoundDelegate在接口中SessionFactoryOptions- 返回:
- The specific EntityNotFoundDelegate to use, May be
null
-
getCustomSqlFunctionMap
public Map<String,SQLFunction> getCustomSqlFunctionMap()
- 指定者:
getCustomSqlFunctionMap在接口中SessionFactoryOptions
-
setCheckNullability
public void setCheckNullability(boolean enabled)
- 指定者:
setCheckNullability在接口中SessionFactoryOptions
-
isPreferUserTransaction
public boolean isPreferUserTransaction()
- 指定者:
isPreferUserTransaction在接口中SessionFactoryOptions
-
getStatelessInterceptorImplementor
public Class<? extends Interceptor> getStatelessInterceptorImplementor()
从接口复制的说明:SessionFactoryOptionsGet the interceptor to use by default for all sessions opened from this factory.- 指定者:
getStatelessInterceptorImplementor在接口中SessionFactoryOptions- 返回:
- The interceptor to use factory wide. May be
null
-
getStatelessInterceptorImplementorSupplier
public Supplier<? extends Interceptor> getStatelessInterceptorImplementorSupplier()
从接口复制的说明:SessionFactoryOptionsGet the interceptor to use by default for all sessions opened from this factory.- 指定者:
getStatelessInterceptorImplementorSupplier在接口中SessionFactoryOptions- 返回:
- The interceptor to use factory wide. May be
null
-
getJdbcTimeZone
public TimeZone getJdbcTimeZone()
- 指定者:
getJdbcTimeZone在接口中SessionFactoryOptions
-
isQueryParametersValidationEnabled
public boolean isQueryParametersValidationEnabled()
-
getCriteriaLiteralHandlingMode
public LiteralHandlingMode getCriteriaLiteralHandlingMode()
-
jdbcStyleParamsZeroBased
public boolean jdbcStyleParamsZeroBased()
-
getJpaCompliance
public JpaCompliance getJpaCompliance()
- 指定者:
getJpaCompliance在接口中SessionFactoryOptions
-
isFailOnPaginationOverCollectionFetchEnabled
public boolean isFailOnPaginationOverCollectionFetchEnabled()
-
getImmutableEntityUpdateQueryHandlingMode
public ImmutableEntityUpdateQueryHandlingMode getImmutableEntityUpdateQueryHandlingMode()
-
inClauseParameterPaddingEnabled
public boolean inClauseParameterPaddingEnabled()
-
nativeExceptionHandling51Compliance
public boolean nativeExceptionHandling51Compliance()
-
getQueryStatisticsMaxSize
public int getQueryStatisticsMaxSize()
-
areJPACallbacksEnabled
public boolean areJPACallbacksEnabled()
- 指定者:
areJPACallbacksEnabled在接口中SessionFactoryOptions
-
isEnhancementAsProxyEnabled
public boolean isEnhancementAsProxyEnabled()
从接口复制的说明:SessionFactoryOptionsCan bytecode-enhanced entity classes be used as a "proxy"?
-
isOmitJoinOfSuperclassTablesEnabled
public boolean isOmitJoinOfSuperclassTablesEnabled()
-
-