Top Description Fields Constructors Methods
org.hibernate.boot.spi

public Class AbstractDelegatingSessionFactoryOptions

extends Object
implements SessionFactoryOptions
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.spi.SessionFactoryOptions, org.hibernate.query.spi.QueryEngineOptions
Imports
java.util.Map, .TimeZone, java.util.function.Supplier, org.hibernate.CustomEntityDirtinessStrategy, .EntityNameResolver, .Interceptor, .SessionFactoryObserver, .TimeZoneStorageStrategy, org.hibernate.boot.SchemaAutoTooling, .TempTableDdlTransactionHandling, org.hibernate.boot.registry.StandardServiceRegistry, org.hibernate.cache.spi.TimestampsCacheFactory, org.hibernate.context.spi.CurrentTenantIdentifierResolver, org.hibernate.internal.BaselineSessionEventsListenerBuilder, org.hibernate.jpa.spi.JpaCompliance, org.hibernate.loader.BatchFetchStyle, org.hibernate.proxy.EntityNotFoundDelegate, org.hibernate.query.ImmutableEntityUpdateQueryHandlingMode, .NullPrecedence, org.hibernate.query.criteria.ValueHandlingMode, org.hibernate.query.hql.HqlTranslator, org.hibernate.query.sqm.function.SqmFunctionDescriptor, .SqmFunctionRegistry, org.hibernate.query.sqm.mutation.spi.SqmMultiTableInsertStrategy, .SqmMultiTableMutationStrategy, org.hibernate.query.sqm.sql.SqmTranslatorFactory, org.hibernate.resource.jdbc.spi.PhysicalConnectionHandlingMode, .StatementInspector, org.hibernate.type.descriptor.java.JavaType, org.hibernate.type.format.FormatMapper

Convenience base class for custom implementations of SessionFactoryOptions using delegation.

Implementation Note

Declared non-abstract to ensure that all SessionFactoryOptions methods have at least a default implementation.

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final SessionFactoryOptions

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
protected SessionFactoryOptions
public boolean
public BaselineSessionEventsListenerBuilder
public BatchFetchStyle
getBatchFetchStyle()

Implements org.hibernate.boot.spi.SessionFactoryOptions.getBatchFetchStyle.

Deprecated as a consequence of BatchFetchStyle being deprecated.
public Object
public String
public ValueHandlingMode
public CurrentTenantIdentifierResolver<Object>
public CustomEntityDirtinessStrategy
public HqlTranslator
getCustomHqlTranslator()

Implements org.hibernate.query.spi.QueryEngineOptions.getCustomHqlTranslator.

Translator for transforming HQL (as an Antlr parse tree) into an SQM tree.
public Map<String, SqmFunctionDescriptor>
getCustomSqlFunctionMap()

Implements org.hibernate.query.spi.QueryEngineOptions.getCustomSqlFunctionMap.

User defined SQM functions available for use in HQL and Criteria.
public SqmFunctionRegistry
getCustomSqmFunctionRegistry()

Implements org.hibernate.query.spi.QueryEngineOptions.getCustomSqmFunctionRegistry.

User supplied registry of SQM functions available for use in HQL and Criteria

Can be used in conjunction with getCustomSqlFunctionMap(), but generally one or the other will be used.

public SqmMultiTableInsertStrategy
getCustomSqmMultiTableInsertStrategy()

Implements org.hibernate.query.spi.QueryEngineOptions.getCustomSqmMultiTableInsertStrategy.

Contract for handling SQM trees representing insertion (INSERT) queries where the target of the mutation is a multi-table entity.
public SqmMultiTableMutationStrategy
getCustomSqmMultiTableMutationStrategy()

Implements org.hibernate.query.spi.QueryEngineOptions.getCustomSqmMultiTableMutationStrategy.

Contract for handling SQM trees representing mutation (UPDATE or DELETE) queries where the target of the mutation is a multi-table entity.
public SqmTranslatorFactory
getCustomSqmTranslatorFactory()

Implements org.hibernate.query.spi.QueryEngineOptions.getCustomSqmTranslatorFactory.

Factory for translators transforming an SQM tree into a different form.
public int
public String
getDefaultCatalog()

Overrides default org.hibernate.boot.spi.SessionFactoryOptions.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).
public NullPrecedence
public String
getDefaultSchema()

Overrides default org.hibernate.boot.spi.SessionFactoryOptions.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).
public JavaType<Object>
getDefaultTenantIdentifierJavaType()

Overrides default org.hibernate.boot.spi.SessionFactoryOptions.getDefaultTenantIdentifierJavaType.

The default tenant identifier java type to use, in case no explicit tenant identifier property is defined.
public TimeZoneStorageStrategy
public EntityNameResolver[]
public EntityNotFoundDelegate
getEntityNotFoundDelegate()

Implements org.hibernate.boot.spi.SessionFactoryOptions.getEntityNotFoundDelegate.

Get the delegate for handling entity-not-found exception conditions.
public ImmutableEntityUpdateQueryHandlingMode
public Interceptor
getInterceptor()

Implements org.hibernate.boot.spi.SessionFactoryOptions.getInterceptor.

Get the interceptor to use by default for all sessions opened from this factory.
public int
public Integer
public TimeZone
public JpaCompliance
public FormatMapper
getJsonFormatMapper()

Implements org.hibernate.boot.spi.SessionFactoryOptions.getJsonFormatMapper.

The format mapper to use for serializing/deserializing JSON data.
public Integer
public boolean
public PhysicalConnectionHandlingMode
public int
public int
public int
public int
public int
public int
public SchemaAutoTooling
public StandardServiceRegistry
getServiceRegistry()

Implements org.hibernate.boot.spi.SessionFactoryOptions.getServiceRegistry.

The service registry to use in building the factory.
public String
getSessionFactoryName()

Implements org.hibernate.boot.spi.SessionFactoryOptions.getSessionFactoryName.

The name to be used for the SessionFactory.
public SessionFactoryObserver[]
public Supplier<? extends Interceptor>
getStatelessInterceptorImplementorSupplier()

Implements org.hibernate.boot.spi.SessionFactoryOptions.getStatelessInterceptorImplementorSupplier.

Get the interceptor to use by default for all sessions opened from this factory.
public StatementInspector
public TempTableDdlTransactionHandling
public TimestampsCacheFactory
public String
getUuid()

Implements org.hibernate.boot.spi.SessionFactoryOptions.getUuid.

Get the UUID unique to this SessionFactoryOptions.
public Object
public FormatMapper
getXmlFormatMapper()

Implements org.hibernate.boot.spi.SessionFactoryOptions.getXmlFormatMapper.

The format mapper to use for serializing/deserializing XML data.
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
public boolean
public boolean
public boolean
public boolean
public boolean
isJpaBootstrap()

Implements org.hibernate.boot.spi.SessionFactoryOptions.isJpaBootstrap.

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
public boolean
public boolean
public boolean
public boolean
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait