public interface SessionFactoryOptions
StandardServiceRegistry getServiceRegistry()
java.lang.Object getBeanManagerReference()
java.lang.Object getValidatorFactoryReference()
@Deprecated boolean isJpaBootstrap()
boolean isJtaTransactionAccessEnabled()
default boolean isAllowRefreshDetachedEntity()
java.lang.String getSessionFactoryName()
isSessionFactoryNameAlsoJndiName()
boolean isSessionFactoryNameAlsoJndiName()
SesssionFactory name
also a JNDI name, indicating we
should bind it into JNDI?true
if the SessionFactory name is also a JNDI name; false
otherwise.boolean isFlushBeforeCompletionEnabled()
boolean isAutoCloseSessionEnabled()
boolean isStatisticsEnabled()
Interceptor getInterceptor()
null
@Deprecated java.lang.Class<? extends Interceptor> getStatelessInterceptorImplementor()
getStatelessInterceptorImplementorSupplier()
instead.null
default java.util.function.Supplier<? extends Interceptor> getStatelessInterceptorImplementorSupplier()
null
StatementInspector getStatementInspector()
SessionFactoryObserver[] getSessionFactoryObservers()
BaselineSessionEventsListenerBuilder getBaselineSessionEventsListenerBuilder()
boolean isIdentifierRollbackEnabled()
EntityMode getDefaultEntityMode()
EntityTuplizerFactory getEntityTuplizerFactory()
boolean isCheckNullability()
boolean isInitializeLazyStateOutsideTransactionsEnabled()
MultiTableBulkIdStrategy getMultiTableBulkIdStrategy()
TempTableDdlTransactionHandling getTempTableDdlTransactionHandling()
BatchFetchStyle getBatchFetchStyle()
int getDefaultBatchFetchSize()
java.lang.Integer getMaximumFetchDepth()
NullPrecedence getDefaultNullPrecedence()
boolean isOrderUpdatesEnabled()
boolean isOrderInsertsEnabled()
MultiTenancyStrategy getMultiTenancyStrategy()
CurrentTenantIdentifierResolver getCurrentTenantIdentifierResolver()
boolean isJtaTrackByThread()
java.util.Map getQuerySubstitutions()
boolean isStrictJpaQueryLanguageCompliance()
boolean isNamedQueryStartupCheckingEnabled()
boolean isConventionalJavaConstants()
boolean isSecondLevelCacheEnabled()
boolean isQueryCacheEnabled()
QueryCacheFactory getQueryCacheFactory()
java.lang.String getCacheRegionPrefix()
boolean isMinimalPutsEnabled()
boolean isStructuredCacheEntriesEnabled()
boolean isDirectReferenceCacheEntriesEnabled()
boolean isAutoEvictCollectionCache()
SchemaAutoTooling getSchemaAutoTooling()
int getJdbcBatchSize()
boolean isJdbcBatchVersionedData()
boolean isScrollableResultSetsEnabled()
boolean isWrapResultSetsEnabled()
boolean isGetGeneratedKeysEnabled()
java.lang.Integer getJdbcFetchSize()
PhysicalConnectionHandlingMode getPhysicalConnectionHandlingMode()
default boolean doesConnectionProviderDisableAutoCommit()
@Deprecated ConnectionReleaseMode getConnectionReleaseMode()
getPhysicalConnectionHandlingMode()
insteadboolean isCommentsEnabled()
CustomEntityDirtinessStrategy getCustomEntityDirtinessStrategy()
EntityNameResolver[] getEntityNameResolvers()
EntityNotFoundDelegate getEntityNotFoundDelegate()
null
java.util.Map<java.lang.String,SQLFunction> getCustomSqlFunctionMap()
void setCheckNullability(boolean enabled)
boolean isPreferUserTransaction()
boolean isProcedureParameterNullPassingEnabled()
boolean isCollectionJoinSubqueryRewriteEnabled()
boolean isAllowOutOfTransactionUpdateOperations()
boolean isReleaseResourcesOnCloseEnabled()
java.util.TimeZone getJdbcTimeZone()
default boolean isQueryParametersValidationEnabled()
default LiteralHandlingMode getCriteriaLiteralHandlingMode()
default boolean isFailOnPaginationOverCollectionFetchEnabled()
default boolean isJpaProxyComplianceEnabled()
default ImmutableEntityUpdateQueryHandlingMode getImmutableEntityUpdateQueryHandlingMode()
default boolean inClauseParameterPaddingEnabled()
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.