public class LspsHibernateMetadata
extends java.lang.Object
implements org.hibernate.boot.spi.MetadataImplementor, java.io.Serializable
Constructor and Description |
---|
LspsHibernateMetadata(java.util.UUID uuid,
org.hibernate.boot.spi.MetadataBuildingOptions metadataBuildingOptions,
org.hibernate.type.TypeResolver typeResolver,
org.hibernate.id.factory.spi.MutableIdentifierGeneratorFactory identifierGeneratorFactory,
java.util.Map<java.lang.String,org.hibernate.mapping.PersistentClass> entityBindingMap,
java.util.Map<java.lang.Class,org.hibernate.mapping.MappedSuperclass> mappedSuperclassMap,
java.util.Map<java.lang.String,org.hibernate.mapping.Collection> collectionBindingMap,
java.util.Map<java.lang.String,org.hibernate.boot.model.TypeDefinition> typeDefinitionMap,
java.util.Map<java.lang.String,org.hibernate.engine.spi.FilterDefinition> filterDefinitionMap,
java.util.Map<java.lang.String,org.hibernate.mapping.FetchProfile> fetchProfileMap,
java.util.Map<java.lang.String,java.lang.String> imports,
java.util.Map<java.lang.String,org.hibernate.boot.model.IdentifierGeneratorDefinition> idGeneratorDefinitionMap,
java.util.Map<java.lang.String,org.hibernate.engine.spi.NamedQueryDefinition> namedQueryMap,
java.util.Map<java.lang.String,org.hibernate.engine.spi.NamedSQLQueryDefinition> namedNativeQueryMap,
java.util.Map<java.lang.String,org.hibernate.cfg.annotations.NamedProcedureCallDefinition> namedProcedureCallMap,
java.util.Map<java.lang.String,org.hibernate.engine.ResultSetMappingDefinition> sqlResultSetMappingMap,
java.util.Map<java.lang.String,org.hibernate.cfg.annotations.NamedEntityGraphDefinition> namedEntityGraphMap,
java.util.Map<java.lang.String,org.hibernate.dialect.function.SQLFunction> sqlFunctionMap,
org.hibernate.boot.model.relational.Database database,
ComponentService componentService) |
Modifier and Type | Method and Description |
---|---|
org.hibernate.query.spi.NamedQueryRepository |
buildNamedQueryRepository(org.hibernate.internal.SessionFactoryImpl sessionFactory) |
java.util.Map<java.lang.String,org.hibernate.procedure.ProcedureCallMemento> |
buildProcedureCallMementos(org.hibernate.internal.SessionFactoryImpl sessionFactory) |
org.hibernate.SessionFactory |
buildSessionFactory() |
java.util.Collection<org.hibernate.mapping.Table> |
collectTableMappings() |
org.hibernate.mapping.Collection |
getCollectionBinding(java.lang.String role) |
java.util.Collection<org.hibernate.mapping.Collection> |
getCollectionBindings() |
org.hibernate.boot.model.relational.Database |
getDatabase() |
org.hibernate.mapping.PersistentClass |
getEntityBinding(java.lang.String entityName) |
java.util.Collection<org.hibernate.mapping.PersistentClass> |
getEntityBindings() |
org.hibernate.mapping.FetchProfile |
getFetchProfile(java.lang.String name) |
java.util.Collection<org.hibernate.mapping.FetchProfile> |
getFetchProfiles() |
org.hibernate.engine.spi.FilterDefinition |
getFilterDefinition(java.lang.String name) |
java.util.Map<java.lang.String,org.hibernate.engine.spi.FilterDefinition> |
getFilterDefinitions() |
org.hibernate.boot.model.IdentifierGeneratorDefinition |
getIdentifierGenerator(java.lang.String name) |
org.hibernate.id.factory.IdentifierGeneratorFactory |
getIdentifierGeneratorFactory() |
java.lang.String |
getIdentifierPropertyName(java.lang.String entityName) |
org.hibernate.type.Type |
getIdentifierType(java.lang.String entityName) |
java.util.Map<java.lang.String,java.lang.String> |
getImports() |
java.util.Set<org.hibernate.mapping.MappedSuperclass> |
getMappedSuperclassMappingsCopy() |
org.hibernate.boot.spi.MetadataBuildingOptions |
getMetadataBuildingOptions() |
org.hibernate.cfg.annotations.NamedEntityGraphDefinition |
getNamedEntityGraph(java.lang.String name) |
java.util.Map<java.lang.String,org.hibernate.cfg.annotations.NamedEntityGraphDefinition> |
getNamedEntityGraphs() |
org.hibernate.engine.spi.NamedSQLQueryDefinition |
getNamedNativeQueryDefinition(java.lang.String name) |
java.util.Collection<org.hibernate.engine.spi.NamedSQLQueryDefinition> |
getNamedNativeQueryDefinitions() |
java.util.Collection<org.hibernate.cfg.annotations.NamedProcedureCallDefinition> |
getNamedProcedureCallDefinitions() |
org.hibernate.engine.spi.NamedQueryDefinition |
getNamedQueryDefinition(java.lang.String name) |
java.util.Collection<org.hibernate.engine.spi.NamedQueryDefinition> |
getNamedQueryDefinitions() |
org.hibernate.type.Type |
getReferencedPropertyType(java.lang.String entityName,
java.lang.String propertyName) |
org.hibernate.engine.ResultSetMappingDefinition |
getResultSetMapping(java.lang.String name) |
java.util.Map<java.lang.String,org.hibernate.engine.ResultSetMappingDefinition> |
getResultSetMappingDefinitions() |
org.hibernate.boot.SessionFactoryBuilder |
getSessionFactoryBuilder() |
java.util.Map<java.lang.String,org.hibernate.dialect.function.SQLFunction> |
getSqlFunctionMap() |
org.hibernate.boot.model.TypeDefinition |
getTypeDefinition(java.lang.String typeName) |
org.hibernate.type.TypeResolver |
getTypeResolver() |
java.util.UUID |
getUUID() |
void |
validate() |
public LspsHibernateMetadata(java.util.UUID uuid, org.hibernate.boot.spi.MetadataBuildingOptions metadataBuildingOptions, org.hibernate.type.TypeResolver typeResolver, org.hibernate.id.factory.spi.MutableIdentifierGeneratorFactory identifierGeneratorFactory, java.util.Map<java.lang.String,org.hibernate.mapping.PersistentClass> entityBindingMap, java.util.Map<java.lang.Class,org.hibernate.mapping.MappedSuperclass> mappedSuperclassMap, java.util.Map<java.lang.String,org.hibernate.mapping.Collection> collectionBindingMap, java.util.Map<java.lang.String,org.hibernate.boot.model.TypeDefinition> typeDefinitionMap, java.util.Map<java.lang.String,org.hibernate.engine.spi.FilterDefinition> filterDefinitionMap, java.util.Map<java.lang.String,org.hibernate.mapping.FetchProfile> fetchProfileMap, java.util.Map<java.lang.String,java.lang.String> imports, java.util.Map<java.lang.String,org.hibernate.boot.model.IdentifierGeneratorDefinition> idGeneratorDefinitionMap, java.util.Map<java.lang.String,org.hibernate.engine.spi.NamedQueryDefinition> namedQueryMap, java.util.Map<java.lang.String,org.hibernate.engine.spi.NamedSQLQueryDefinition> namedNativeQueryMap, java.util.Map<java.lang.String,org.hibernate.cfg.annotations.NamedProcedureCallDefinition> namedProcedureCallMap, java.util.Map<java.lang.String,org.hibernate.engine.ResultSetMappingDefinition> sqlResultSetMappingMap, java.util.Map<java.lang.String,org.hibernate.cfg.annotations.NamedEntityGraphDefinition> namedEntityGraphMap, java.util.Map<java.lang.String,org.hibernate.dialect.function.SQLFunction> sqlFunctionMap, org.hibernate.boot.model.relational.Database database, ComponentService componentService)
public org.hibernate.boot.spi.MetadataBuildingOptions getMetadataBuildingOptions()
getMetadataBuildingOptions
in interface org.hibernate.boot.spi.MetadataImplementor
public org.hibernate.type.TypeResolver getTypeResolver()
getTypeResolver
in interface org.hibernate.boot.spi.MetadataImplementor
public org.hibernate.boot.SessionFactoryBuilder getSessionFactoryBuilder()
getSessionFactoryBuilder
in interface org.hibernate.boot.Metadata
public org.hibernate.SessionFactory buildSessionFactory()
buildSessionFactory
in interface org.hibernate.boot.Metadata
public java.util.UUID getUUID()
getUUID
in interface org.hibernate.boot.Metadata
public org.hibernate.boot.model.relational.Database getDatabase()
getDatabase
in interface org.hibernate.boot.Metadata
public org.hibernate.id.factory.IdentifierGeneratorFactory getIdentifierGeneratorFactory()
getIdentifierGeneratorFactory
in interface org.hibernate.engine.spi.Mapping
public java.util.Collection<org.hibernate.mapping.PersistentClass> getEntityBindings()
getEntityBindings
in interface org.hibernate.boot.Metadata
public org.hibernate.mapping.PersistentClass getEntityBinding(java.lang.String entityName)
getEntityBinding
in interface org.hibernate.boot.Metadata
public java.util.Collection<org.hibernate.mapping.Collection> getCollectionBindings()
getCollectionBindings
in interface org.hibernate.boot.Metadata
public org.hibernate.mapping.Collection getCollectionBinding(java.lang.String role)
getCollectionBinding
in interface org.hibernate.boot.Metadata
public java.util.Map<java.lang.String,java.lang.String> getImports()
getImports
in interface org.hibernate.boot.Metadata
public org.hibernate.engine.spi.NamedQueryDefinition getNamedQueryDefinition(java.lang.String name)
getNamedQueryDefinition
in interface org.hibernate.boot.Metadata
public java.util.Collection<org.hibernate.engine.spi.NamedQueryDefinition> getNamedQueryDefinitions()
getNamedQueryDefinitions
in interface org.hibernate.boot.Metadata
public org.hibernate.engine.spi.NamedSQLQueryDefinition getNamedNativeQueryDefinition(java.lang.String name)
getNamedNativeQueryDefinition
in interface org.hibernate.boot.Metadata
public java.util.Collection<org.hibernate.engine.spi.NamedSQLQueryDefinition> getNamedNativeQueryDefinitions()
getNamedNativeQueryDefinitions
in interface org.hibernate.boot.Metadata
public java.util.Collection<org.hibernate.cfg.annotations.NamedProcedureCallDefinition> getNamedProcedureCallDefinitions()
getNamedProcedureCallDefinitions
in interface org.hibernate.boot.Metadata
public org.hibernate.engine.ResultSetMappingDefinition getResultSetMapping(java.lang.String name)
getResultSetMapping
in interface org.hibernate.boot.Metadata
public java.util.Map<java.lang.String,org.hibernate.engine.ResultSetMappingDefinition> getResultSetMappingDefinitions()
getResultSetMappingDefinitions
in interface org.hibernate.boot.Metadata
public org.hibernate.boot.model.TypeDefinition getTypeDefinition(java.lang.String typeName)
getTypeDefinition
in interface org.hibernate.boot.Metadata
public java.util.Map<java.lang.String,org.hibernate.engine.spi.FilterDefinition> getFilterDefinitions()
getFilterDefinitions
in interface org.hibernate.boot.Metadata
public org.hibernate.engine.spi.FilterDefinition getFilterDefinition(java.lang.String name)
getFilterDefinition
in interface org.hibernate.boot.Metadata
public org.hibernate.mapping.FetchProfile getFetchProfile(java.lang.String name)
getFetchProfile
in interface org.hibernate.boot.Metadata
public java.util.Collection<org.hibernate.mapping.FetchProfile> getFetchProfiles()
getFetchProfiles
in interface org.hibernate.boot.Metadata
public org.hibernate.cfg.annotations.NamedEntityGraphDefinition getNamedEntityGraph(java.lang.String name)
getNamedEntityGraph
in interface org.hibernate.boot.Metadata
public java.util.Map<java.lang.String,org.hibernate.cfg.annotations.NamedEntityGraphDefinition> getNamedEntityGraphs()
getNamedEntityGraphs
in interface org.hibernate.boot.Metadata
public org.hibernate.boot.model.IdentifierGeneratorDefinition getIdentifierGenerator(java.lang.String name)
getIdentifierGenerator
in interface org.hibernate.boot.Metadata
public java.util.Map<java.lang.String,org.hibernate.dialect.function.SQLFunction> getSqlFunctionMap()
getSqlFunctionMap
in interface org.hibernate.boot.Metadata
public java.util.Collection<org.hibernate.mapping.Table> collectTableMappings()
collectTableMappings
in interface org.hibernate.boot.Metadata
public org.hibernate.query.spi.NamedQueryRepository buildNamedQueryRepository(org.hibernate.internal.SessionFactoryImpl sessionFactory)
buildNamedQueryRepository
in interface org.hibernate.boot.spi.MetadataImplementor
public java.util.Map<java.lang.String,org.hibernate.procedure.ProcedureCallMemento> buildProcedureCallMementos(org.hibernate.internal.SessionFactoryImpl sessionFactory)
public void validate() throws org.hibernate.MappingException
validate
in interface org.hibernate.boot.spi.MetadataImplementor
org.hibernate.MappingException
public java.util.Set<org.hibernate.mapping.MappedSuperclass> getMappedSuperclassMappingsCopy()
getMappedSuperclassMappingsCopy
in interface org.hibernate.boot.spi.MetadataImplementor
public org.hibernate.type.Type getIdentifierType(java.lang.String entityName) throws org.hibernate.MappingException
getIdentifierType
in interface org.hibernate.engine.spi.Mapping
org.hibernate.MappingException
public java.lang.String getIdentifierPropertyName(java.lang.String entityName) throws org.hibernate.MappingException
getIdentifierPropertyName
in interface org.hibernate.engine.spi.Mapping
org.hibernate.MappingException
public org.hibernate.type.Type getReferencedPropertyType(java.lang.String entityName, java.lang.String propertyName) throws org.hibernate.MappingException
getReferencedPropertyType
in interface org.hibernate.engine.spi.Mapping
org.hibernate.MappingException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.