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

public Class MetadataImpl

extends Object
implements MetadataImplementor, Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable, org.hibernate.boot.spi.MetadataImplementor, org.hibernate.engine.spi.Mapping, org.hibernate.boot.Metadata
Imports
java.io.Serializable, java.util.ArrayList, .Collections, .HashMap, .HashSet, .List, .Map, .Set, .UUID, java.util.regex.Pattern, org.hibernate.HibernateException, .MappingException, .SessionFactory, org.hibernate.boot.SessionFactoryBuilder, org.hibernate.boot.model.IdentifierGeneratorDefinition, .TypeDefinition, org.hibernate.boot.model.relational.Database, .Namespace, org.hibernate.boot.registry.classloading.spi.ClassLoaderService, org.hibernate.boot.spi.BootstrapContext, .MetadataBuildingOptions, .MetadataImplementor, .SessionFactoryBuilderFactory, .SessionFactoryBuilderImplementor, .SessionFactoryBuilderService, org.hibernate.cfg.annotations.NamedEntityGraphDefinition, .NamedProcedureCallDefinition, org.hibernate.dialect.function.SQLFunction, org.hibernate.engine.ResultSetMappingDefinition, org.hibernate.engine.config.spi.ConfigurationService, org.hibernate.engine.spi.FilterDefinition, .NamedQueryDefinition, .NamedSQLQueryDefinition, .SessionFactoryImplementor, org.hibernate.event.service.spi.EventListenerGroup, .EventListenerRegistry, org.hibernate.event.spi.EventType, org.hibernate.id.factory.spi.MutableIdentifierGeneratorFactory, org.hibernate.internal.SessionFactoryImpl, org.hibernate.internal.log.DeprecationLogger, org.hibernate.internal.util.NullnessHelper, org.hibernate.jpa.AvailableSettings, org.hibernate.mapping.Collection, .FetchProfile, .MappedSuperclass, .PersistentClass, .Property, .Table, org.hibernate.procedure.ProcedureCallMemento, org.hibernate.query.spi.NamedQueryRepository, org.hibernate.service.spi.ServiceRegistryImplementor, org.hibernate.type.Type, .TypeResolver, org.hibernate.type.spi.TypeConfiguration

Container for configuration data collected during binding the metamodel.
Authors
Steve Ebersole, Hardy Ferentschik, Gail Badner

Field Summary

Modifier and TypeField and Description
private final BootstrapContext
private final Map<String, Collection>
private final Database
private final Map<String, PersistentClass>
private final Map<String, FetchProfile>
private final Map<String, FilterDefinition>
private final MutableIdentifierGeneratorFactory
private final Map<String, IdentifierGeneratorDefinition>
private final Map<String, String>
private static final Pattern
private final Map<Class<T>, MappedSuperclass>
private final MetadataBuildingOptions
private final Map<String, NamedEntityGraphDefinition>
private final Map<String, NamedSQLQueryDefinition>
private final Map<String, NamedProcedureCallDefinition>
private final Map<String, NamedQueryDefinition>
private final Map<String, SQLFunction>
private final Map<String, ResultSetMappingDefinition>
private final Map<String, TypeDefinition>
private final UUID

Constructor Summary

AccessConstructor and Description
public
MetadataImpl(UUID uuid, MetadataBuildingOptions metadataBuildingOptions, MutableIdentifierGeneratorFactory identifierGeneratorFactory, Map<String, PersistentClass> entityBindingMap, Map<Class<T>, MappedSuperclass> mappedSuperclassMap, Map<String, Collection> collectionBindingMap, Map<String, TypeDefinition> typeDefinitionMap, Map<String, FilterDefinition> filterDefinitionMap, Map<String, FetchProfile> fetchProfileMap, Map<String, String> imports, Map<String, IdentifierGeneratorDefinition> idGeneratorDefinitionMap, Map<String, NamedQueryDefinition> namedQueryMap, Map<String, NamedSQLQueryDefinition> namedNativeQueryMap, Map<String, NamedProcedureCallDefinition> namedProcedureCallMap, Map<String, ResultSetMappingDefinition> sqlResultSetMappingMap, Map<String, NamedEntityGraphDefinition> namedEntityGraphMap, Map<String, SQLFunction> sqlFunctionMap, Database database, BootstrapContext bootstrapContext)

Method Summary

Modifier and TypeMethod and Description
public NamedQueryRepository
private Map<String, ProcedureCallMemento>
buildProcedureCallMementos(SessionFactoryImpl sessionFactory)

Deprecated as a consequence of SessionFactoryImpl being deprecated.
public SessionFactory
buildSessionFactory()

Implements org.hibernate.boot.Metadata.buildSessionFactory.

Deprecated as a consequence of SessionFactory being deprecated.
Short-hand form of building a org.hibernate.SessionFactory through the builder without any additional option overrides.
public Collection<Table>
public BootstrapContext
public Collection
getCollectionBinding(String
The collection role for which to retrieve the metadata.
role
)

Implements org.hibernate.boot.Metadata.getCollectionBinding.

Retrieves the collection mapping metadata for the given collection role.
public Map<String, Collection>
public Collection<Collection>
getCollectionBindings()

Implements org.hibernate.boot.Metadata.getCollectionBindings.

Retrieves the Collection metadata representation for all known collections.
public Database
getDatabase()

Implements org.hibernate.boot.Metadata.getDatabase.

Retrieve the database model.
public PersistentClass
getEntityBinding(String
The entity name for which to retrieve the metadata.
entityName
)

Implements org.hibernate.boot.Metadata.getEntityBinding.

Retrieves the PersistentClass entity mapping metadata representation for the given entity name.
public Map<String, PersistentClass>
public Collection<PersistentClass>
getEntityBindings()

Implements org.hibernate.boot.Metadata.getEntityBindings.

Retrieves the PersistentClass entity metadata representation for all known entities.
public FetchProfile
public Map<String, FetchProfile>
public Collection<FetchProfile>
public FilterDefinition
getFilterDefinition(String
The name of the filter definition to retrieve .
name
)

Implements org.hibernate.boot.Metadata.getFilterDefinition.

Retrieves a filter definition by name.
public Map<String, FilterDefinition>
getFilterDefinitions()

Implements org.hibernate.boot.Metadata.getFilterDefinitions.

Retrieves the complete map of filter definitions.
public IdentifierGeneratorDefinition
public MutableIdentifierGeneratorFactory
getIdentifierGeneratorFactory()

Implements org.hibernate.engine.spi.Mapping.getIdentifierGeneratorFactory.

Allow access to the id generator factory, though this is only needed/allowed from configuration.
public String
public Type
public Map<String, IdentifierGeneratorDefinition>
public Map<String, String>
getImports()

Implements org.hibernate.boot.Metadata.getImports.

Retrieves all defined imports (class renames).
public Map<Class<T>, MappedSuperclass>
public Set<MappedSuperclass>
public MetadataBuildingOptions
getMetadataBuildingOptions()

Implements org.hibernate.boot.spi.MetadataImplementor.getMetadataBuildingOptions.

Access to the options used to build this Metadata
public NamedEntityGraphDefinition
public Map<String, NamedEntityGraphDefinition>
public Map<String, NamedEntityGraphDefinition>
public NamedSQLQueryDefinition
getNamedNativeQueryDefinition(String
The SQL query name.
name
)

Implements org.hibernate.boot.Metadata.getNamedNativeQueryDefinition.

Retrieve named SQL query metadata.
public Collection<NamedSQLQueryDefinition>
public Map<String, NamedSQLQueryDefinition>
public Collection<NamedProcedureCallDefinition>
public Map<String, NamedProcedureCallDefinition>
public NamedQueryDefinition
getNamedQueryDefinition(String
The query name
name
)

Implements org.hibernate.boot.Metadata.getNamedQueryDefinition.

Retrieve named query metadata by name.
public Collection<NamedQueryDefinition>
public Map<String, NamedQueryDefinition>
public Type
public ResultSetMappingDefinition
getResultSetMapping(String
The mapping name.
name
)

Implements org.hibernate.boot.Metadata.getResultSetMapping.

Retrieve the metadata for a named SQL result set mapping.
public Map<String, ResultSetMappingDefinition>
public SessionFactoryBuilder
getSessionFactoryBuilder()

Implements org.hibernate.boot.Metadata.getSessionFactoryBuilder.

Get the builder for org.hibernate.SessionFactory instances based on this metamodel.
public Map<String, SQLFunction>
public Map<String, ResultSetMappingDefinition>
public TypeConfiguration
public TypeDefinition
getTypeDefinition(String
The name of the type definition to retrieve.
typeName
)

Implements org.hibernate.boot.Metadata.getTypeDefinition.

Retrieve a type definition by name.
public Map<String, TypeDefinition>
public TypeResolver

Returns:

The type resolver
getTypeResolver
()

Implements org.hibernate.boot.spi.MetadataImplementor.getTypeResolver.

Deprecated (since 5.3) No replacement, access to and handling of Types will be much different in 6.0
Retrieve the Type resolver associated with this factory.
public UUID
getUUID()

Implements org.hibernate.boot.Metadata.getUUID.

Gets the java.util.UUID for this metamodel.
public void
private Object
instantiate(String listenerImpl, ClassLoaderService classLoaderService)

public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bootstrapContextback to summary
private final BootstrapContext bootstrapContext
collectionBindingMapback to summary
private final Map<String, Collection> collectionBindingMap
databaseback to summary
private final Database database
entityBindingMapback to summary
private final Map<String, PersistentClass> entityBindingMap
fetchProfileMapback to summary
private final Map<String, FetchProfile> fetchProfileMap
filterDefinitionMapback to summary
private final Map<String, FilterDefinition> filterDefinitionMap
identifierGeneratorFactoryback to summary
private final MutableIdentifierGeneratorFactory identifierGeneratorFactory
idGeneratorDefinitionMapback to summary
private final Map<String, IdentifierGeneratorDefinition> idGeneratorDefinitionMap
importsback to summary
private final Map<String, String> imports
LISTENER_SEPARATION_PATTERNback to summary
private static final Pattern LISTENER_SEPARATION_PATTERN
mappedSuperclassMapback to summary
private final Map<Class<T>, MappedSuperclass> mappedSuperclassMap
metadataBuildingOptionsback to summary
private final MetadataBuildingOptions metadataBuildingOptions
namedEntityGraphMapback to summary
private final Map<String, NamedEntityGraphDefinition> namedEntityGraphMap
namedNativeQueryMapback to summary
private final Map<String, NamedSQLQueryDefinition> namedNativeQueryMap
namedProcedureCallMapback to summary
private final Map<String, NamedProcedureCallDefinition> namedProcedureCallMap
namedQueryMapback to summary
private final Map<String, NamedQueryDefinition> namedQueryMap
sqlFunctionMapback to summary
private final Map<String, SQLFunction> sqlFunctionMap
sqlResultSetMappingMapback to summary
private final Map<String, ResultSetMappingDefinition> sqlResultSetMappingMap
typeDefinitionMapback to summary
private final Map<String, TypeDefinition> typeDefinitionMap
uuidback to summary
private final UUID uuid

Constructor Detail

MetadataImplback to summary
public MetadataImpl(UUID uuid, MetadataBuildingOptions metadataBuildingOptions, MutableIdentifierGeneratorFactory identifierGeneratorFactory, Map<String, PersistentClass> entityBindingMap, Map<Class<T>, MappedSuperclass> mappedSuperclassMap, Map<String, Collection> collectionBindingMap, Map<String, TypeDefinition> typeDefinitionMap, Map<String, FilterDefinition> filterDefinitionMap, Map<String, FetchProfile> fetchProfileMap, Map<String, String> imports, Map<String, IdentifierGeneratorDefinition> idGeneratorDefinitionMap, Map<String, NamedQueryDefinition> namedQueryMap, Map<String, NamedSQLQueryDefinition> namedNativeQueryMap, Map<String, NamedProcedureCallDefinition> namedProcedureCallMap, Map<String, ResultSetMappingDefinition> sqlResultSetMappingMap, Map<String, NamedEntityGraphDefinition> namedEntityGraphMap, Map<String, SQLFunction> sqlFunctionMap, Database database, BootstrapContext bootstrapContext)

Method Detail

buildNamedQueryRepositoryback to summary
public NamedQueryRepository buildNamedQueryRepository(SessionFactoryImpl sessionFactory)

Implements org.hibernate.boot.spi.MetadataImplementor.buildNamedQueryRepository.

Deprecated

as a consequence of SessionFactoryImpl being deprecated. See corresponding docs for further information.

Annotations
@Override
buildProcedureCallMementosback to summary
private Map<String, ProcedureCallMemento> buildProcedureCallMementos(SessionFactoryImpl sessionFactory)

Deprecated

as a consequence of SessionFactoryImpl being deprecated. See corresponding docs for further information.

buildSessionFactoryback to summary
public SessionFactory buildSessionFactory()

Implements org.hibernate.boot.Metadata.buildSessionFactory.

Doc from org.hibernate.boot.Metadata.buildSessionFactory.

Deprecated

as a consequence of SessionFactory being deprecated. See corresponding docs for further information.

Short-hand form of building a org.hibernate.SessionFactory through the builder without any additional option overrides.

Returns:SessionFactory

THe built SessionFactory.

Annotations
@Override
collectTableMappingsback to summary
public Collection<Table> collectTableMappings()

Implements org.hibernate.boot.Metadata.collectTableMappings.

Annotations
@Override
getBootstrapContextback to summary
public BootstrapContext getBootstrapContext()
getCollectionBindingback to summary
public Collection getCollectionBinding(String role)

Implements org.hibernate.boot.Metadata.getCollectionBinding.

Doc from org.hibernate.boot.Metadata.getCollectionBinding.

Retrieves the collection mapping metadata for the given collection role.

Parameters
role:String

The collection role for which to retrieve the metadata.

Returns:Collection

The collection mapping metadata, or null if no matching collection found.

Annotations
@Override
getCollectionBindingMapback to summary
public Map<String, Collection> getCollectionBindingMap()
getCollectionBindingsback to summary
public Collection<Collection> getCollectionBindings()

Implements org.hibernate.boot.Metadata.getCollectionBindings.

Doc from org.hibernate.boot.Metadata.getCollectionBindings.

Retrieves the Collection metadata representation for all known collections. Returned collection is immutable

Returns:Collection<Collection>

All Collection representations.

Annotations
@Override
getDatabaseback to summary
public Database getDatabase()

Implements org.hibernate.boot.Metadata.getDatabase.

Doc from org.hibernate.boot.Metadata.getDatabase.

Retrieve the database model.

Returns:Database

The database model.

Annotations
@Override
getEntityBindingback to summary
public PersistentClass getEntityBinding(String entityName)

Implements org.hibernate.boot.Metadata.getEntityBinding.

Doc from org.hibernate.boot.Metadata.getEntityBinding.

Retrieves the PersistentClass entity mapping metadata representation for the given entity name.

Parameters
entityName:String

The entity name for which to retrieve the metadata.

Returns:PersistentClass

The entity mapping metadata, or null if no matching entity found.

Annotations
@Override
getEntityBindingMapback to summary
public Map<String, PersistentClass> getEntityBindingMap()
getEntityBindingsback to summary
public Collection<PersistentClass> getEntityBindings()

Implements org.hibernate.boot.Metadata.getEntityBindings.

Doc from org.hibernate.boot.Metadata.getEntityBindings.

Retrieves the PersistentClass entity metadata representation for all known entities. Returned collection is immutable

Returns:Collection<PersistentClass>

All PersistentClass representations.

Annotations
@Override
getFetchProfileback to summary
public FetchProfile getFetchProfile(String name)

Implements org.hibernate.boot.Metadata.getFetchProfile.

Annotations
@Override
getFetchProfileMapback to summary
public Map<String, FetchProfile> getFetchProfileMap()
getFetchProfilesback to summary
public Collection<FetchProfile> getFetchProfiles()

Implements org.hibernate.boot.Metadata.getFetchProfiles.

Annotations
@Override
getFilterDefinitionback to summary
public FilterDefinition getFilterDefinition(String name)

Implements org.hibernate.boot.Metadata.getFilterDefinition.

Doc from org.hibernate.boot.Metadata.getFilterDefinition.

Retrieves a filter definition by name.

Parameters
name:String

The name of the filter definition to retrieve .

Returns:FilterDefinition

The filter definition, or null.

Annotations
@Override
getFilterDefinitionsback to summary
public Map<String, FilterDefinition> getFilterDefinitions()

Implements org.hibernate.boot.Metadata.getFilterDefinitions.

Doc from org.hibernate.boot.Metadata.getFilterDefinitions.

Retrieves the complete map of filter definitions. Returned map is immutable

Returns:Map<String, FilterDefinition>

The filter definition map.

Annotations
@Override
getIdentifierGeneratorback to summary
public IdentifierGeneratorDefinition getIdentifierGenerator(String name)

Implements org.hibernate.boot.Metadata.getIdentifierGenerator.

Annotations
@Override
getIdentifierGeneratorFactoryback to summary
public MutableIdentifierGeneratorFactory getIdentifierGeneratorFactory()

Implements org.hibernate.engine.spi.Mapping.getIdentifierGeneratorFactory.

Doc from org.hibernate.engine.spi.Mapping.getIdentifierGeneratorFactory.

Allow access to the id generator factory, though this is only needed/allowed from configuration.

Returns:MutableIdentifierGeneratorFactory

Access to the identifier generator factory

Annotations
@Override
getIdentifierPropertyNameback to summary
public String getIdentifierPropertyName(String entityName) throws MappingException

Implements org.hibernate.engine.spi.Mapping.getIdentifierPropertyName.

Annotations
@Override
getIdentifierTypeback to summary
public Type getIdentifierType(String entityName) throws MappingException

Implements org.hibernate.engine.spi.Mapping.getIdentifierType.

Annotations
@Override
getIdGeneratorDefinitionMapback to summary
public Map<String, IdentifierGeneratorDefinition> getIdGeneratorDefinitionMap()
getImportsback to summary
public Map<String, String> getImports()

Implements org.hibernate.boot.Metadata.getImports.

Doc from org.hibernate.boot.Metadata.getImports.

Retrieves all defined imports (class renames).

Returns:Map<String, String>

All imports

Annotations
@Override
getMappedSuperclassMapback to summary
public Map<Class<T>, MappedSuperclass> getMappedSuperclassMap()
getMappedSuperclassMappingsCopyback to summary
public Set<MappedSuperclass> getMappedSuperclassMappingsCopy()

Implements org.hibernate.boot.spi.MetadataImplementor.getMappedSuperclassMappingsCopy.

Annotations
@Override
getMetadataBuildingOptionsback to summary
public MetadataBuildingOptions getMetadataBuildingOptions()

Implements org.hibernate.boot.spi.MetadataImplementor.getMetadataBuildingOptions.

Doc from org.hibernate.boot.spi.MetadataImplementor.getMetadataBuildingOptions.

Access to the options used to build this Metadata

Returns:MetadataBuildingOptions

Access to the MetadataBuildingOptions

Annotations
@Override
getNamedEntityGraphback to summary
public NamedEntityGraphDefinition getNamedEntityGraph(String name)

Implements org.hibernate.boot.Metadata.getNamedEntityGraph.

Annotations
@Override
getNamedEntityGraphMapback to summary
public Map<String, NamedEntityGraphDefinition> getNamedEntityGraphMap()
getNamedEntityGraphsback to summary
public Map<String, NamedEntityGraphDefinition> getNamedEntityGraphs()

Implements org.hibernate.boot.Metadata.getNamedEntityGraphs.

Annotations
@Override
getNamedNativeQueryDefinitionback to summary
public NamedSQLQueryDefinition getNamedNativeQueryDefinition(String name)

Implements org.hibernate.boot.Metadata.getNamedNativeQueryDefinition.

Doc from org.hibernate.boot.Metadata.getNamedNativeQueryDefinition.

Retrieve named SQL query metadata.

Parameters
name:String

The SQL query name.

Returns:NamedSQLQueryDefinition

The named query metadata, or null

Annotations
@Override
getNamedNativeQueryDefinitionsback to summary
public Collection<NamedSQLQueryDefinition> getNamedNativeQueryDefinitions()

Implements org.hibernate.boot.Metadata.getNamedNativeQueryDefinitions.

Annotations
@Override
getNamedNativeQueryMapback to summary
public Map<String, NamedSQLQueryDefinition> getNamedNativeQueryMap()
getNamedProcedureCallDefinitionsback to summary
public Collection<NamedProcedureCallDefinition> getNamedProcedureCallDefinitions()

Implements org.hibernate.boot.Metadata.getNamedProcedureCallDefinitions.

Annotations
@Override
getNamedProcedureCallMapback to summary
public Map<String, NamedProcedureCallDefinition> getNamedProcedureCallMap()
getNamedQueryDefinitionback to summary
public NamedQueryDefinition getNamedQueryDefinition(String name)

Implements org.hibernate.boot.Metadata.getNamedQueryDefinition.

Doc from org.hibernate.boot.Metadata.getNamedQueryDefinition.

Retrieve named query metadata by name.

Parameters
name:String

The query name

Returns:NamedQueryDefinition

The named query metadata, or null.

Annotations
@Override
getNamedQueryDefinitionsback to summary
public Collection<NamedQueryDefinition> getNamedQueryDefinitions()

Implements org.hibernate.boot.Metadata.getNamedQueryDefinitions.

Annotations
@Override
getNamedQueryMapback to summary
public Map<String, NamedQueryDefinition> getNamedQueryMap()
getReferencedPropertyTypeback to summary
public Type getReferencedPropertyType(String entityName, String propertyName) throws MappingException

Implements org.hibernate.engine.spi.Mapping.getReferencedPropertyType.

Annotations
@Override
getResultSetMappingback to summary
public ResultSetMappingDefinition getResultSetMapping(String name)

Implements org.hibernate.boot.Metadata.getResultSetMapping.

Doc from org.hibernate.boot.Metadata.getResultSetMapping.

Retrieve the metadata for a named SQL result set mapping.

Parameters
name:String

The mapping name.

Returns:ResultSetMappingDefinition

The named result set mapping metadata, or null if none found.

Annotations
@Override
getResultSetMappingDefinitionsback to summary
public Map<String, ResultSetMappingDefinition> getResultSetMappingDefinitions()

Implements org.hibernate.boot.Metadata.getResultSetMappingDefinitions.

Annotations
@Override
getSessionFactoryBuilderback to summary
public SessionFactoryBuilder getSessionFactoryBuilder()

Implements org.hibernate.boot.Metadata.getSessionFactoryBuilder.

Doc from org.hibernate.boot.Metadata.getSessionFactoryBuilder.

Get the builder for org.hibernate.SessionFactory instances based on this metamodel.

Returns:SessionFactoryBuilder

The builder for org.hibernate.SessionFactory instances.

Annotations
@Override
getSqlFunctionMapback to summary
public Map<String, SQLFunction> getSqlFunctionMap()

Implements org.hibernate.boot.Metadata.getSqlFunctionMap.

Annotations
@Override
getSqlResultSetMappingMapback to summary
public Map<String, ResultSetMappingDefinition> getSqlResultSetMappingMap()
getTypeConfigurationback to summary
public TypeConfiguration getTypeConfiguration()

Implements org.hibernate.boot.spi.MetadataImplementor.getTypeConfiguration.

Doc from org.hibernate.boot.spi.MetadataImplementor.getTypeConfiguration.

Access to the TypeConfiguration

Returns:TypeConfiguration

Access to the TypeConfiguration

Annotations
@Override
getTypeDefinitionback to summary
public TypeDefinition getTypeDefinition(String typeName)

Implements org.hibernate.boot.Metadata.getTypeDefinition.

Doc from org.hibernate.boot.Metadata.getTypeDefinition.

Retrieve a type definition by name.

Parameters
typeName:String

The name of the type definition to retrieve.

Returns:TypeDefinition

The named type definition, or null

Annotations
@Override
getTypeDefinitionMapback to summary
public Map<String, TypeDefinition> getTypeDefinitionMap()
getTypeResolverback to summary
public TypeResolver getTypeResolver()

Implements org.hibernate.boot.spi.MetadataImplementor.getTypeResolver.

Deprecated

(since 5.3) No replacement, access to and handling of Types will be much different in 6.0

Retrieve the Type resolver associated with this factory.

Returns:TypeResolver

The type resolver

Annotations
@Deprecated
getUUIDback to summary
public UUID getUUID()

Implements org.hibernate.boot.Metadata.getUUID.

Doc from org.hibernate.boot.Metadata.getUUID.

Gets the java.util.UUID for this metamodel.

Returns:UUID

the UUID.

Annotations
@Override
initSessionFactoryback to summary
public void initSessionFactory(SessionFactoryImplementor sessionFactory)

Implements org.hibernate.boot.spi.MetadataImplementor.initSessionFactory.

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Annotations
@Override
instantiateback to summary
private Object instantiate(String listenerImpl, ClassLoaderService classLoaderService)
validateback to summary
public void validate() throws MappingException

Implements org.hibernate.boot.spi.MetadataImplementor.validate.

Annotations
@Override