org.hibernate.SessionFactory .
| Modifier and Type | Method and Description |
|---|---|
| public default boolean | |
| public default boolean | |
| public BaselineSessionEventsListenerBuilder | |
| public BatchFetchStyle | |
| public Object | |
| public String | |
| public default ValueHandlingMode | |
| public CurrentTenantIdentifierResolver | |
| public CustomEntityDirtinessStrategy | |
| public int | |
| public default String | Returns: The default catalog to use.The default catalog to use in generated SQL when a catalog wasn't specified in the mapping, neither explicitly nor implicitly (see the concept of implicit catalog in XML mapping). |
| public NullPrecedence | |
| public default String | Returns: The default schema to use.The default schema to use in generated SQL when a catalog wasn't specified in the mapping, neither explicitly nor implicitly (see the concept of implicit schema in XML mapping). |
| public default JavaType | getDefaultTenantIdentifierJavaType()
The default tenant identifier java type to use, in case no explicit tenant identifier property is defined. |
| public TimeZoneStorageStrategy | |
| public EntityNameResolver[] | |
| public EntityNotFoundDelegate | Returns: The specific EntityNotFoundDelegate to use, May benullGet the delegate for handling entity-not-found exception conditions. |
| public default ImmutableEntityUpdateQueryHandlingMode | |
| public Interceptor | Returns: The interceptor to use factory wide. May benullGet the interceptor to use by default for all sessions opened from this factory. |
| public int | |
| public Integer | |
| public TimeZone | |
| public JpaCompliance | |
| public FormatMapper | |
| public Integer | |
| public default boolean | |
| public PhysicalConnectionHandlingMode | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public default int | |
| public SchemaAutoTooling | |
| public StandardServiceRegistry | Returns: The service registry to use.The service registry to use in building the factory. |
| public String | |
| public SessionFactoryObserver[] | |
| public Supplier | Returns: The interceptor to use factory wide. May benullGet the interceptor to use by default for all sessions opened from this factory. |
| public StatementInspector | |
| public TempTableDdlTransactionHandling | |
| public TimestampsCacheFactory | |
| public String | Returns: The UUID for this SessionFactory.Get the UUID unique to this SessionFactoryOptions. |
| public Object | |
| public FormatMapper | |
| public default boolean | |
| public boolean | |
| public default boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public default boolean | |
| public boolean | |
| public default boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | Returns: true indicates the SessionFactory was built through JPA
bootstrapping; false indicates it was built through native bootstrapping.Was building of the SessionFactory initiated through JPA bootstrapping, or through Hibernate's native bootstrapping? |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | Returns: true if the SessionFactory name is also a JNDI name; false otherwise.Is the |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | Returns: true indicates we should try to use java.
named parameters, if the Dialect says it is supported; false
indicates that we should never try to use java.
named parameters, regardless of what the Dialect says.Controls whether Hibernate should try to map named parameter names
specified in a |
| public void |
| areJPACallbacksEnabled | back to summary |
|---|---|
| public default boolean areJPACallbacksEnabled() | |
| doesConnectionProviderDisableAutoCommit | back to summary |
|---|---|
| public default boolean doesConnectionProviderDisableAutoCommit() | |
| getBaselineSessionEventsListenerBuilder | back to summary |
|---|---|
| public BaselineSessionEventsListenerBuilder getBaselineSessionEventsListenerBuilder() | |
| getBatchFetchStyle | back to summary |
|---|---|
| public BatchFetchStyle getBatchFetchStyle()
Deprecated since 6.0. : No longer used internally
| |
| getBeanManagerReference | back to summary |
|---|---|
| public Object getBeanManagerReference() | |
| getCacheRegionPrefix | back to summary |
|---|---|
| public String getCacheRegionPrefix() | |
| getCriteriaValueHandlingMode | back to summary |
|---|---|
| public default ValueHandlingMode getCriteriaValueHandlingMode() Implements org. | |
| getCurrentTenantIdentifierResolver | back to summary |
|---|---|
| public CurrentTenantIdentifierResolver | |
| getCustomEntityDirtinessStrategy | back to summary |
|---|---|
| public CustomEntityDirtinessStrategy getCustomEntityDirtinessStrategy() | |
| getDefaultBatchFetchSize | back to summary |
|---|---|
| public int getDefaultBatchFetchSize() | |
| getDefaultCatalog | back to summary |
|---|---|
| public default String getDefaultCatalog() The default catalog to use in generated SQL when a catalog wasn't specified in the mapping, neither explicitly nor implicitly (see the concept of implicit catalog in XML mapping).
| |
| getDefaultNullPrecedence | back to summary |
|---|---|
| public NullPrecedence getDefaultNullPrecedence() | |
| getDefaultSchema | back to summary |
|---|---|
| public default String getDefaultSchema() The default schema to use in generated SQL when a catalog wasn't specified in the mapping, neither explicitly nor implicitly (see the concept of implicit schema in XML mapping).
| |
| getDefaultTenantIdentifierJavaType | back to summary |
|---|---|
| public default JavaType The default tenant identifier java type to use, in case no explicit tenant identifier property is defined.
| |
| getDefaultTimeZoneStorageStrategy | back to summary |
|---|---|
public TimeZoneStorageStrategy getDefaultTimeZoneStorageStrategy()
| |
| getEntityNameResolvers | back to summary |
|---|---|
| public EntityNameResolver[] getEntityNameResolvers() | |
| getEntityNotFoundDelegate | back to summary |
|---|---|
| public EntityNotFoundDelegate getEntityNotFoundDelegate() Get the delegate for handling entity-not-found exception conditions.
| |
| getImmutableEntityUpdateQueryHandlingMode | back to summary |
|---|---|
| public default ImmutableEntityUpdateQueryHandlingMode getImmutableEntityUpdateQueryHandlingMode() | |
| getInterceptor | back to summary |
|---|---|
| public Interceptor getInterceptor() Get the interceptor to use by default for all sessions opened from this factory.
| |
| getJdbcBatchSize | back to summary |
|---|---|
| public int getJdbcBatchSize() | |
| getJdbcFetchSize | back to summary |
|---|---|
| public Integer getJdbcFetchSize() | |
| getJdbcTimeZone | back to summary |
|---|---|
| public TimeZone getJdbcTimeZone() | |
| getJpaCompliance | back to summary |
|---|---|
| public JpaCompliance getJpaCompliance() Redeclares org. | |
| getJsonFormatMapper | back to summary |
|---|---|
| public FormatMapper getJsonFormatMapper() The format mapper to use for serializing/deserializing JSON data.
| |
| getMaximumFetchDepth | back to summary |
|---|---|
| public Integer getMaximumFetchDepth() | |
| getNativeJdbcParametersIgnored | back to summary |
|---|---|
| public default boolean getNativeJdbcParametersIgnored() | |
| getPhysicalConnectionHandlingMode | back to summary |
|---|---|
| public PhysicalConnectionHandlingMode getPhysicalConnectionHandlingMode() | |
| getPreferredSqlTypeCodeForArray | back to summary |
|---|---|
public int getPreferredSqlTypeCodeForArray()
| |
| getPreferredSqlTypeCodeForBoolean | back to summary |
|---|---|
public int getPreferredSqlTypeCodeForBoolean()
| |
| getPreferredSqlTypeCodeForDuration | back to summary |
|---|---|
public int getPreferredSqlTypeCodeForDuration()
| |
| getPreferredSqlTypeCodeForInstant | back to summary |
|---|---|
public int getPreferredSqlTypeCodeForInstant()
| |
| getPreferredSqlTypeCodeForUuid | back to summary |
|---|---|
public int getPreferredSqlTypeCodeForUuid()
| |
| getQueryStatisticsMaxSize | back to summary |
|---|---|
| public default int getQueryStatisticsMaxSize() | |
| getSchemaAutoTooling | back to summary |
|---|---|
| public SchemaAutoTooling getSchemaAutoTooling() | |
| getServiceRegistry | back to summary |
|---|---|
| public StandardServiceRegistry getServiceRegistry() The service registry to use in building the factory.
| |
| getSessionFactoryName | back to summary |
|---|---|
| public String getSessionFactoryName() The name to be used for the SessionFactory. This is used both in:
| |
| getSessionFactoryObservers | back to summary |
|---|---|
| public SessionFactoryObserver[] getSessionFactoryObservers() | |
| getStatelessInterceptorImplementorSupplier | back to summary |
|---|---|
| public Supplier Get the interceptor to use by default for all sessions opened from this factory.
| |
| getStatementInspector | back to summary |
|---|---|
| public StatementInspector getStatementInspector() | |
| getTempTableDdlTransactionHandling | back to summary |
|---|---|
| public TempTableDdlTransactionHandling getTempTableDdlTransactionHandling() | |
| getTimestampsCacheFactory | back to summary |
|---|---|
| public TimestampsCacheFactory getTimestampsCacheFactory() | |
| getUuid | back to summary |
|---|---|
| public String getUuid() Get the UUID unique to this SessionFactoryOptions. Will be the
same value available as API Note The value is generated as a
| |
| getValidatorFactoryReference | back to summary |
|---|---|
| public Object getValidatorFactoryReference() | |
| getXmlFormatMapper | back to summary |
|---|---|
| public FormatMapper getXmlFormatMapper() The format mapper to use for serializing/deserializing XML data.
| |
| inClauseParameterPaddingEnabled | back to summary |
|---|---|
| public default boolean inClauseParameterPaddingEnabled() | |
| isAllowOutOfTransactionUpdateOperations | back to summary |
|---|---|
| public boolean isAllowOutOfTransactionUpdateOperations() | |
| isAllowRefreshDetachedEntity | back to summary |
|---|---|
| public default boolean isAllowRefreshDetachedEntity() | |
| isAutoCloseSessionEnabled | back to summary |
|---|---|
| public boolean isAutoCloseSessionEnabled() | |
| isAutoEvictCollectionCache | back to summary |
|---|---|
| public boolean isAutoEvictCollectionCache() | |
| isCheckNullability | back to summary |
|---|---|
| public boolean isCheckNullability() | |
| isCollectionsInDefaultFetchGroupEnabled | back to summary |
|---|---|
| public default boolean isCollectionsInDefaultFetchGroupEnabled() | |
| isCommentsEnabled | back to summary |
|---|---|
| public boolean isCommentsEnabled() | |
| isCriteriaCopyTreeEnabled | back to summary |
|---|---|
| public default boolean isCriteriaCopyTreeEnabled() | |
| isDelayBatchFetchLoaderCreationsEnabled | back to summary |
|---|---|
| public boolean isDelayBatchFetchLoaderCreationsEnabled() | |
| isDirectReferenceCacheEntriesEnabled | back to summary |
|---|---|
| public boolean isDirectReferenceCacheEntriesEnabled() | |
| isFailOnPaginationOverCollectionFetchEnabled | back to summary |
|---|---|
| public boolean isFailOnPaginationOverCollectionFetchEnabled() | |
| isFlushBeforeCompletionEnabled | back to summary |
|---|---|
| public boolean isFlushBeforeCompletionEnabled() | |
| isGetGeneratedKeysEnabled | back to summary |
|---|---|
| public boolean isGetGeneratedKeysEnabled() | |
| isIdentifierRollbackEnabled | back to summary |
|---|---|
| public boolean isIdentifierRollbackEnabled() | |
| isInitializeLazyStateOutsideTransactionsEnabled | back to summary |
|---|---|
| public boolean isInitializeLazyStateOutsideTransactionsEnabled() | |
| isJdbcBatchVersionedData | back to summary |
|---|---|
| public boolean isJdbcBatchVersionedData() | |
| isJpaBootstrap | back to summary |
|---|---|
| public boolean isJpaBootstrap() Was building of the SessionFactory initiated through JPA bootstrapping, or through Hibernate's native bootstrapping?
| |
| isJtaTrackByThread | back to summary |
|---|---|
| public boolean isJtaTrackByThread() | |
| isJtaTransactionAccessEnabled | back to summary |
|---|---|
| public boolean isJtaTransactionAccessEnabled() | |
| isMinimalPutsEnabled | back to summary |
|---|---|
| public boolean isMinimalPutsEnabled() | |
| isMultiTenancyEnabled | back to summary |
|---|---|
| public boolean isMultiTenancyEnabled() | |
| isNamedQueryStartupCheckingEnabled | back to summary |
|---|---|
| public boolean isNamedQueryStartupCheckingEnabled() | |
| isOrderInsertsEnabled | back to summary |
|---|---|
| public boolean isOrderInsertsEnabled() | |
| isOrderUpdatesEnabled | back to summary |
|---|---|
| public boolean isOrderUpdatesEnabled() | |
| isPreferUserTransaction | back to summary |
|---|---|
| public boolean isPreferUserTransaction() | |
| isQueryCacheEnabled | back to summary |
|---|---|
| public boolean isQueryCacheEnabled() | |
| isReleaseResourcesOnCloseEnabled | back to summary |
|---|---|
| public boolean isReleaseResourcesOnCloseEnabled() | |
| isScrollableResultSetsEnabled | back to summary |
|---|---|
| public boolean isScrollableResultSetsEnabled() | |
| isSecondLevelCacheEnabled | back to summary |
|---|---|
| public boolean isSecondLevelCacheEnabled() | |
| isSessionFactoryNameAlsoJndiName | back to summary |
|---|---|
| public boolean isSessionFactoryNameAlsoJndiName() Is the
| |
| isStatisticsEnabled | back to summary |
|---|---|
| public boolean isStatisticsEnabled() | |
| isStructuredCacheEntriesEnabled | back to summary |
|---|---|
| public boolean isStructuredCacheEntriesEnabled() | |
| isSubselectFetchEnabled | back to summary |
|---|---|
| public boolean isSubselectFetchEnabled() | |
| isUseOfJdbcNamedParametersEnabled | back to summary |
|---|---|
| public boolean isUseOfJdbcNamedParametersEnabled() Controls whether Hibernate should try to map named parameter names
specified in a As JPA is defined, the use of named parameters is essentially of dubious value since by spec the parameters have to be defined in the order they are defined in the procedure/function declaration - we can always bind them positionally. The whole idea of named parameters for CallableStatement is the ability to bind these in any order, but since we unequivocally know the order anyway binding them via name really gains nothing.
If this is
| |
| setCheckNullability | back to summary |
|---|---|
| public void setCheckNullability(boolean enabled) | |