public interface SessionFactoryOptions
String getUuid()
SessionFactoryImplementor.getUuid()
.SessionFactoryRegistry.getSessionFactory(java.lang.String)
,
SessionFactoryImplementor.getUuid()
StandardServiceRegistry getServiceRegistry()
Object getBeanManagerReference()
Object getValidatorFactoryReference()
boolean isJpaBootstrap()
true
indicates the SessionFactory was built through JPA
bootstrapping; false
indicates it was built through native bootstrapping.boolean isJtaTransactionAccessEnabled()
default boolean isAllowRefreshDetachedEntity()
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 Class<? extends Interceptor> getStatelessInterceptorImplementor()
getStatelessInterceptorImplementorSupplier()
instead.null
default 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()
boolean isDelayBatchFetchLoaderCreationsEnabled()
int getDefaultBatchFetchSize()
Integer getMaximumFetchDepth()
NullPrecedence getDefaultNullPrecedence()
boolean isOrderUpdatesEnabled()
boolean isOrderInsertsEnabled()
MultiTenancyStrategy getMultiTenancyStrategy()
CurrentTenantIdentifierResolver getCurrentTenantIdentifierResolver()
boolean isJtaTrackByThread()
Map getQuerySubstitutions()
@Deprecated default boolean isStrictJpaQueryLanguageCompliance()
JpaCompliance.isJpaQueryComplianceEnabled()
instead
via getJpaCompliance()
boolean isNamedQueryStartupCheckingEnabled()
boolean isConventionalJavaConstants()
boolean isSecondLevelCacheEnabled()
boolean isQueryCacheEnabled()
TimestampsCacheFactory getTimestampsCacheFactory()
String getCacheRegionPrefix()
boolean isMinimalPutsEnabled()
boolean isStructuredCacheEntriesEnabled()
boolean isDirectReferenceCacheEntriesEnabled()
boolean isAutoEvictCollectionCache()
SchemaAutoTooling getSchemaAutoTooling()
int getJdbcBatchSize()
boolean isJdbcBatchVersionedData()
boolean isScrollableResultSetsEnabled()
boolean isWrapResultSetsEnabled()
boolean isGetGeneratedKeysEnabled()
Integer getJdbcFetchSize()
PhysicalConnectionHandlingMode getPhysicalConnectionHandlingMode()
default boolean doesConnectionProviderDisableAutoCommit()
@Deprecated ConnectionReleaseMode getConnectionReleaseMode()
getPhysicalConnectionHandlingMode()
insteadboolean isCommentsEnabled()
CustomEntityDirtinessStrategy getCustomEntityDirtinessStrategy()
EntityNameResolver[] getEntityNameResolvers()
EntityNotFoundDelegate getEntityNotFoundDelegate()
null
Map<String,SQLFunction> getCustomSqlFunctionMap()
void setCheckNullability(boolean enabled)
boolean isPreferUserTransaction()
boolean isProcedureParameterNullPassingEnabled()
boolean isCollectionJoinSubqueryRewriteEnabled()
boolean isAllowOutOfTransactionUpdateOperations()
boolean isReleaseResourcesOnCloseEnabled()
TimeZone getJdbcTimeZone()
default boolean isQueryParametersValidationEnabled()
default LiteralHandlingMode getCriteriaLiteralHandlingMode()
boolean jdbcStyleParamsZeroBased()
JpaCompliance getJpaCompliance()
boolean isFailOnPaginationOverCollectionFetchEnabled()
default ImmutableEntityUpdateQueryHandlingMode getImmutableEntityUpdateQueryHandlingMode()
default boolean inClauseParameterPaddingEnabled()
default boolean nativeExceptionHandling51Compliance()
default boolean isEnhancementAsProxyEnabled()
Copyright © 2021 JBoss by Red Hat. All rights reserved.