public interface Metadata
Modifier and Type | Interface and Description |
---|---|
static interface |
Metadata.Options
Exposes the options used to produce a
Metadata instance. |
Modifier and Type | Method and Description |
---|---|
SessionFactory |
buildSessionFactory() |
Iterable<PluralAttributeBinding> |
getCollectionBindings() |
EntityBinding |
getEntityBinding(String entityName) |
Iterable<EntityBinding> |
getEntityBindings() |
Iterable<FetchProfile> |
getFetchProfiles() |
Iterable<FilterDefinition> |
getFilterDefinitions() |
IdGenerator |
getIdGenerator(String name) |
Iterable<Map.Entry<String,String>> |
getImports() |
Iterable<NamedSQLQueryDefinition> |
getNamedNativeQueryDefinitions() |
Iterable<NamedQueryDefinition> |
getNamedQueryDefinitions() |
Metadata.Options |
getOptions() |
Iterable<ResultSetMappingDefinition> |
getResultSetMappingDefinitions() |
EntityBinding |
getRootEntityBinding(String entityName)
Get the "root" entity binding
|
SessionFactoryBuilder |
getSessionFactoryBuilder() |
TypeDef |
getTypeDefinition(String name) |
Iterable<TypeDef> |
getTypeDefinitions() |
Metadata.Options getOptions()
SessionFactoryBuilder getSessionFactoryBuilder()
SessionFactory buildSessionFactory()
Iterable<EntityBinding> getEntityBindings()
EntityBinding getEntityBinding(String entityName)
EntityBinding getRootEntityBinding(String entityName)
entityName
- Iterable<PluralAttributeBinding> getCollectionBindings()
Iterable<FilterDefinition> getFilterDefinitions()
Iterable<NamedQueryDefinition> getNamedQueryDefinitions()
Iterable<NamedSQLQueryDefinition> getNamedNativeQueryDefinitions()
Iterable<ResultSetMappingDefinition> getResultSetMappingDefinitions()
Iterable<FetchProfile> getFetchProfiles()
IdGenerator getIdGenerator(String name)
Copyright © 2018 JBoss by Red Hat. All rights reserved.