SessionFactoryBuilder |
SessionFactoryBuilder.addEntityNameResolver(EntityNameResolver... entityNameResolvers) |
Specifies one or more entity name resolvers to be applied to the SessionFactory (see the EntityNameResolver
contract for more information..
|
SessionFactoryBuilder |
SessionFactoryBuilder.addSessionFactoryObservers(SessionFactoryObserver... observers) |
Specifies one or more observers to be applied to the SessionFactory.
|
SessionFactoryBuilder |
SessionFactoryBuilder.allowOutOfTransactionUpdateOperations(boolean allow) |
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyAutoClosing(boolean enabled) |
Applies whether Sessions should be automatically closed at the end of the transaction.
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyAutoFlushing(boolean enabled) |
Applies whether Sessions should be automatically flushed at the end of the transaction.
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyAutomaticEvictionOfCollectionCaches(boolean enabled) |
When using bi-directional many-to-one associations and caching the one-to-many side
it is expected that both sides of the association are managed (actually that is true of
all bi-directional associations).
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyBatchFetchStyle(BatchFetchStyle style) |
What style of batching should be used?
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyBeanManager(Object beanManager) |
Apply a CDI BeanManager to the SessionFactory being built.
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyCacheRegionPrefix(String prefix) |
Apply a prefix to prepended to all cache region names for this SessionFactory.
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyConnectionHandlingMode(PhysicalConnectionHandlingMode connectionHandlingMode) |
Apply the specified handling mode for JDBC connections
|
default SessionFactoryBuilder |
SessionFactoryBuilder.applyConnectionProviderDisablesAutoCommit(boolean providerDisablesAutoCommit) |
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyConnectionReleaseMode(ConnectionReleaseMode connectionReleaseMode) |
已过时。
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyCurrentTenantIdentifierResolver(CurrentTenantIdentifierResolver resolver) |
Specifies a strategy for resolving the notion of a "current" tenant-identifier when using multi-tenancy
together with current sessions
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyCustomEntityDirtinessStrategy(CustomEntityDirtinessStrategy strategy) |
Specifies a custom entity dirtiness strategy to be applied to the SessionFactory.
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyDefaultBatchFetchSize(int size) |
Allows specifying a default batch-fetch size for all entities and collections
which do not otherwise specify a batch-fetch size.
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyDefaultEntityMode(EntityMode entityMode) |
已过时。
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyDefaultNullPrecedence(NullPrecedence nullPrecedence) |
Apply a null precedence (NULLS FIRST, NULLS LAST) to be applied order-by clauses rendered into
SQL queries.
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyDelayedEntityLoaderCreations(boolean delay) |
Should entity Loaders be generated immediately?
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyDirectReferenceCaching(boolean enabled) |
Generally, Hibernate will extract the information from an entity and put that
extracted information into the second-level cache.
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyEntityNotFoundDelegate(EntityNotFoundDelegate entityNotFoundDelegate) |
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyEntityTuplizer(EntityMode entityMode,
Class<? extends EntityTuplizer> tuplizerClass) |
Register the default EntityTuplizer to be applied to the SessionFactory.
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyEntityTuplizerFactory(EntityTuplizerFactory entityTuplizerFactory) |
Specify the EntityTuplizerFactory to use.
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyGetGeneratedKeysSupport(boolean enabled) |
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyIdentifierRollbackSupport(boolean enabled) |
Should generated identifiers be "unset" on entities during a rollback?
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyInterceptor(Interceptor interceptor) |
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyJdbcBatchingForVersionedEntities(boolean enabled) |
This setting controls whether versioned entities will be included in JDBC batching.
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyJdbcBatchSize(int size) |
Specifies the maximum number of statements to batch together in a JDBC batch for
insert, update and delete operations.
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyJdbcFetchSize(int size) |
Apply a fetch size to the JDBC driver for fetching results.
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyJtaTrackingByThread(boolean enabled) |
If using the built-in Hibernate JTA-based TransactionCoordinator/Builder, should it track JTA
transactions by thread in an attempt to detect timeouts?
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyLazyInitializationOutsideTransaction(boolean enabled) |
Should the application be allowed to initialize uninitialized lazy state outside the bounds of a transaction?
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyMaximumFetchDepth(int depth) |
Apply a limit to the depth Hibernate will use for outer joins.
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyMinimalPutsForCaching(boolean enabled) |
By default, Hibernate will always just push data into the cache without first checking
if that data already exists.
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyMultiTableBulkIdStrategy(MultiTableBulkIdStrategy strategy) |
How should updates and deletes that span multiple tables be handled?
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyMultiTenancyStrategy(MultiTenancyStrategy strategy) |
Apply the form of multi-tenancy used by the application
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyName(String sessionFactoryName) |
Applies a SessionFactory name.
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyNameAsJndiName(boolean isJndiName) |
Applies a SessionFactory name.
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyNamedQueryCheckingOnStartup(boolean enabled) |
Should named queries be checked on startup?
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyNullabilityChecking(boolean enabled) |
Should attributes using columns marked as not-null be checked (by Hibernate) for nullness?
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyOrderingOfInserts(boolean enabled) |
Apply whether ordering of inserts should be enabled.
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyOrderingOfUpdates(boolean enabled) |
Apply whether ordering of updates should be enabled.
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyPreferUserTransactions(boolean preferUserTransactions) |
If using the built-in Hibernate JTA-based TransactionCoordinator/Builder, should it prefer to use
UserTransaction over Transaction?
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyQueryCacheSupport(boolean enabled) |
Should second level query caching support be enabled?
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyQuerySubstitutions(Map substitutions) |
已过时。
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyResultSetsWrapping(boolean enabled) |
Hibernate currently accesses results from the JDBC ResultSet by name.
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyScrollableResultsSupport(boolean enabled) |
Should scrollable results be supported in queries?
|
SessionFactoryBuilder |
SessionFactoryBuilder.applySecondLevelCacheSupport(boolean enabled) |
Should second level caching support be enabled?
|
SessionFactoryBuilder |
SessionFactoryBuilder.applySqlComments(boolean enabled) |
Should Hibernate apply comments to SQL it generates?
|
SessionFactoryBuilder |
SessionFactoryBuilder.applySqlFunction(String registrationName,
SQLFunction sqlFunction) |
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyStatelessInterceptor(Class<? extends Interceptor> statelessInterceptorClass) |
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyStatelessInterceptor(Supplier<? extends Interceptor> statelessInterceptorSupplier) |
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyStatementInspector(StatementInspector statementInspector) |
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyStatisticsSupport(boolean enabled) |
Applies whether statistics gathering is enabled.
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyStrictJpaQueryLanguageCompliance(boolean enabled) |
已过时。
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyStructuredCacheEntries(boolean enabled) |
By default, Hibernate stores data in the cache in its own optimized format.
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyTempTableDdlTransactionHandling(TempTableDdlTransactionHandling handling) |
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyTimestampsCacheFactory(TimestampsCacheFactory factory) |
Specifies a QueryCacheFactory to use for building query cache handlers.
|
SessionFactoryBuilder |
SessionFactoryBuilder.applyValidatorFactory(Object validatorFactory) |
Apply a Bean Validation ValidatorFactory to the SessionFactory being built.
|
SessionFactoryBuilder |
SessionFactoryBuilder.enableJpaClosedCompliance(boolean enabled) |
|
SessionFactoryBuilder |
SessionFactoryBuilder.enableJpaListCompliance(boolean enabled) |
|
SessionFactoryBuilder |
SessionFactoryBuilder.enableJpaQueryCompliance(boolean enabled) |
|
SessionFactoryBuilder |
SessionFactoryBuilder.enableJpaTransactionCompliance(boolean enabled) |
|
SessionFactoryBuilder |
SessionFactoryBuilder.enableReleaseResourcesOnCloseEnabled(boolean enable) |
Should resources held by EntityManager instance be released immediately on close?
|
SessionFactoryBuilder |
Metadata.getSessionFactoryBuilder() |
|