Top Description Methods
org.hibernate.boot.spi

public Interface MetadataImplementor

extends Metadata, Mapping
Known Direct Subinterfaces
org.hibernate.boot.spi.InFlightMetadataCollector
Known Direct Implementers
org.hibernate.boot.internal.MetadataImpl, org.hibernate.boot.spi.AbstractDelegatingMetadata
Imports
java.util.Set, org.hibernate.MappingException, org.hibernate.boot.Metadata, org.hibernate.engine.spi.Mapping, .SessionFactoryImplementor, org.hibernate.internal.SessionFactoryImpl, org.hibernate.mapping.MappedSuperclass, org.hibernate.query.spi.NamedQueryRepository, org.hibernate.type.Type, .TypeResolver, org.hibernate.type.spi.TypeConfiguration

The SPI-level Metadata contract.
Author
Steve Ebersole
Since
5.0

Method Summary

Modifier and TypeMethod and Description
public NamedQueryRepository
buildNamedQueryRepository(SessionFactoryImpl sessionFactory)

Deprecated as a consequence of SessionFactoryImpl being deprecated.
public Set<MappedSuperclass>
public MetadataBuildingOptions

Returns:

Access to the MetadataBuildingOptions
getMetadataBuildingOptions
()

Access to the options used to build this Metadata

public TypeConfiguration

Returns:

Access to the TypeConfiguration
getTypeConfiguration
()

Access to the TypeConfiguration

public TypeResolver

Returns:

The type resolver
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 void
initSessionFactory(SessionFactoryImplementor sessionFactoryImplementor)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
public void
Inherited from org.hibernate.boot.Metadata:
buildSessionFactorycollectTableMappingsgetCollectionBindinggetCollectionBindingsgetDatabasegetEntityBindinggetEntityBindingsgetFetchProfilegetFetchProfilesgetFilterDefinitiongetFilterDefinitionsgetIdentifierGeneratorgetImportsgetNamedEntityGraphgetNamedEntityGraphsgetNamedNativeQueryDefinitiongetNamedNativeQueryDefinitionsgetNamedProcedureCallDefinitionsgetNamedQueryDefinitiongetNamedQueryDefinitionsgetResultSetMappinggetResultSetMappingDefinitionsgetSessionFactoryBuildergetSqlFunctionMapgetTypeDefinitiongetUUID
Inherited from org.hibernate.engine.spi.Mapping:
getIdentifierGeneratorFactorygetIdentifierPropertyNamegetIdentifierTypegetReferencedPropertyType

Method Detail

buildNamedQueryRepositoryback to summary
public NamedQueryRepository buildNamedQueryRepository(SessionFactoryImpl sessionFactory)

Deprecated

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

getMappedSuperclassMappingsCopyback to summary
public Set<MappedSuperclass> getMappedSuperclassMappingsCopy()
getMetadataBuildingOptionsback to summary
public MetadataBuildingOptions getMetadataBuildingOptions()

Access to the options used to build this Metadata

Returns:MetadataBuildingOptions

Access to the MetadataBuildingOptions

getTypeConfigurationback to summary
public TypeConfiguration getTypeConfiguration()

Access to the TypeConfiguration

Returns:TypeConfiguration

Access to the TypeConfiguration

getTypeResolverback to summary
public TypeResolver 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
initSessionFactoryback to summary
public void initSessionFactory(SessionFactoryImplementor sessionFactoryImplementor)

Deprecated

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

validateback to summary
public void validate() throws MappingException