public class SessionFactoryOptionsImpl extends Object implements SessionFactoryOptions
Constructor and Description |
---|
SessionFactoryOptionsImpl(SessionFactoryOptionsState state) |
public SessionFactoryOptionsImpl(SessionFactoryOptionsState state)
public StandardServiceRegistry getServiceRegistry()
SessionFactoryOptions
getServiceRegistry
in interface SessionFactoryOptions
public Object getBeanManagerReference()
getBeanManagerReference
in interface SessionFactoryOptions
public Object getValidatorFactoryReference()
getValidatorFactoryReference
in interface SessionFactoryOptions
public String getSessionFactoryName()
SessionFactoryOptions
SessionFactoryOptions.isSessionFactoryNameAlsoJndiName()
getSessionFactoryName
in interface SessionFactoryOptions
public boolean isSessionFactoryNameAlsoJndiName()
SessionFactoryOptions
SesssionFactory name
also a JNDI name, indicating we
should bind it into JNDI?isSessionFactoryNameAlsoJndiName
in interface SessionFactoryOptions
true
if the SessionFactory name is also a JNDI name; false
otherwise.public boolean isFlushBeforeCompletionEnabled()
isFlushBeforeCompletionEnabled
in interface SessionFactoryOptions
public boolean isAutoCloseSessionEnabled()
isAutoCloseSessionEnabled
in interface SessionFactoryOptions
public boolean isStatisticsEnabled()
isStatisticsEnabled
in interface SessionFactoryOptions
public Interceptor getInterceptor()
SessionFactoryOptions
getInterceptor
in interface SessionFactoryOptions
null
public StatementInspector getStatementInspector()
getStatementInspector
in interface SessionFactoryOptions
public BaselineSessionEventsListenerBuilder getBaselineSessionEventsListenerBuilder()
getBaselineSessionEventsListenerBuilder
in interface SessionFactoryOptions
public SessionFactoryObserver[] getSessionFactoryObservers()
getSessionFactoryObservers
in interface SessionFactoryOptions
public boolean isIdentifierRollbackEnabled()
isIdentifierRollbackEnabled
in interface SessionFactoryOptions
public EntityMode getDefaultEntityMode()
getDefaultEntityMode
in interface SessionFactoryOptions
public EntityTuplizerFactory getEntityTuplizerFactory()
getEntityTuplizerFactory
in interface SessionFactoryOptions
public boolean isCheckNullability()
isCheckNullability
in interface SessionFactoryOptions
public boolean isInitializeLazyStateOutsideTransactionsEnabled()
isInitializeLazyStateOutsideTransactionsEnabled
in interface SessionFactoryOptions
public MultiTableBulkIdStrategy getMultiTableBulkIdStrategy()
getMultiTableBulkIdStrategy
in interface SessionFactoryOptions
public TempTableDdlTransactionHandling getTempTableDdlTransactionHandling()
getTempTableDdlTransactionHandling
in interface SessionFactoryOptions
public BatchFetchStyle getBatchFetchStyle()
getBatchFetchStyle
in interface SessionFactoryOptions
public int getDefaultBatchFetchSize()
getDefaultBatchFetchSize
in interface SessionFactoryOptions
public Integer getMaximumFetchDepth()
getMaximumFetchDepth
in interface SessionFactoryOptions
public NullPrecedence getDefaultNullPrecedence()
getDefaultNullPrecedence
in interface SessionFactoryOptions
public boolean isOrderUpdatesEnabled()
isOrderUpdatesEnabled
in interface SessionFactoryOptions
public boolean isOrderInsertsEnabled()
isOrderInsertsEnabled
in interface SessionFactoryOptions
public MultiTenancyStrategy getMultiTenancyStrategy()
getMultiTenancyStrategy
in interface SessionFactoryOptions
public CurrentTenantIdentifierResolver getCurrentTenantIdentifierResolver()
getCurrentTenantIdentifierResolver
in interface SessionFactoryOptions
public boolean isJtaTrackByThread()
isJtaTrackByThread
in interface SessionFactoryOptions
public Map getQuerySubstitutions()
getQuerySubstitutions
in interface SessionFactoryOptions
public boolean isStrictJpaQueryLanguageCompliance()
isStrictJpaQueryLanguageCompliance
in interface SessionFactoryOptions
public boolean isNamedQueryStartupCheckingEnabled()
isNamedQueryStartupCheckingEnabled
in interface SessionFactoryOptions
public boolean isSecondLevelCacheEnabled()
isSecondLevelCacheEnabled
in interface SessionFactoryOptions
public boolean isQueryCacheEnabled()
isQueryCacheEnabled
in interface SessionFactoryOptions
public QueryCacheFactory getQueryCacheFactory()
getQueryCacheFactory
in interface SessionFactoryOptions
public String getCacheRegionPrefix()
getCacheRegionPrefix
in interface SessionFactoryOptions
public boolean isMinimalPutsEnabled()
isMinimalPutsEnabled
in interface SessionFactoryOptions
public boolean isStructuredCacheEntriesEnabled()
isStructuredCacheEntriesEnabled
in interface SessionFactoryOptions
public boolean isDirectReferenceCacheEntriesEnabled()
isDirectReferenceCacheEntriesEnabled
in interface SessionFactoryOptions
public boolean isAutoEvictCollectionCache()
isAutoEvictCollectionCache
in interface SessionFactoryOptions
public SchemaAutoTooling getSchemaAutoTooling()
getSchemaAutoTooling
in interface SessionFactoryOptions
public int getJdbcBatchSize()
getJdbcBatchSize
in interface SessionFactoryOptions
public boolean isJdbcBatchVersionedData()
isJdbcBatchVersionedData
in interface SessionFactoryOptions
public boolean isScrollableResultSetsEnabled()
isScrollableResultSetsEnabled
in interface SessionFactoryOptions
public boolean isWrapResultSetsEnabled()
isWrapResultSetsEnabled
in interface SessionFactoryOptions
public boolean isGetGeneratedKeysEnabled()
isGetGeneratedKeysEnabled
in interface SessionFactoryOptions
public Integer getJdbcFetchSize()
getJdbcFetchSize
in interface SessionFactoryOptions
public ConnectionReleaseMode getConnectionReleaseMode()
getConnectionReleaseMode
in interface SessionFactoryOptions
public boolean isCommentsEnabled()
isCommentsEnabled
in interface SessionFactoryOptions
public CustomEntityDirtinessStrategy getCustomEntityDirtinessStrategy()
getCustomEntityDirtinessStrategy
in interface SessionFactoryOptions
public EntityNameResolver[] getEntityNameResolvers()
getEntityNameResolvers
in interface SessionFactoryOptions
public EntityNotFoundDelegate getEntityNotFoundDelegate()
SessionFactoryOptions
getEntityNotFoundDelegate
in interface SessionFactoryOptions
null
public Map<String,SQLFunction> getCustomSqlFunctionMap()
getCustomSqlFunctionMap
in interface SessionFactoryOptions
public void setCheckNullability(boolean enabled)
setCheckNullability
in interface SessionFactoryOptions
public boolean isPreferUserTransaction()
isPreferUserTransaction
in interface SessionFactoryOptions
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.