/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.boot.spi;
import java.util.Collection;
import java.util.Set;
import org.hibernate.MappingException;
import org.hibernate.boot.Metadata;
import org.hibernate.cache.cfg.internal.DomainDataRegionConfigImpl;
import org.hibernate.engine.spi.Mapping;
import org.hibernate.internal.SessionFactoryImpl;
import org.hibernate.mapping.MappedSuperclass;
import org.hibernate.query.spi.NamedQueryRepository;
import org.hibernate.type.Type;
import org.hibernate.type.TypeResolver;
import org.hibernate.type.spi.TypeConfiguration;
The SPI-level Metadata contract.
Author: Steve Ebersole @todo Should Mapping be implemented here, or on InFlightMetadataCollector instead? Since: 5.0
/**
* The SPI-level Metadata contract.
*
* @todo Should Mapping be implemented here, or on InFlightMetadataCollector instead?
*
* @author Steve Ebersole
*
* @since 5.0
*/
public interface MetadataImplementor extends Metadata, Mapping {
Access to the options used to build this Metadata
Returns:
/**
* Access to the options used to build this Metadata
*
* @return
*/
MetadataBuildingOptions getMetadataBuildingOptions();
Access to the TypeConfiguration
Returns: Access to the TypeConfiguration
/**
* Access to the TypeConfiguration
*
* @return Access to the TypeConfiguration
*/
TypeConfiguration getTypeConfiguration();
Retrieve the Type
resolver associated with this factory. Returns: The type resolver Deprecated: (since 5.3) No replacement, access to and handling of Types will be much different in 6.0
/**
* Retrieve the {@link Type} resolver associated with this factory.
*
* @return The type resolver
*
* @deprecated (since 5.3) No replacement, access to and handling of Types will be much different in 6.0
*/
@Deprecated
TypeResolver getTypeResolver();
NamedQueryRepository buildNamedQueryRepository(SessionFactoryImpl sessionFactory);
void validate() throws MappingException;
Set<MappedSuperclass> getMappedSuperclassMappingsCopy();
}