Package org.hibernate.metamodel
This package defines an API for accessing the runtime metamodel describing persistent
entities in Java and their mappings to the relational database schema.
The runtime metamodel may be divided into two layers:
- The domain metamodel, which is an extension of the JPA metamodel and is used in query handling. This layer contains information about Java classes, but not about their mappings to the database.
- The mapping metamodel, which describes the application domain model and its mapping to the database. It is distinct from the JPA metamodel, which does not contain this O/R mapping information.
-
Interface Summary Interface Description MappingMetamodel Access to information about the runtime relational O/R mapping model.RuntimeMetamodels Entry point providing access to the runtime metamodels: the domain model, our implementation of the JPA-defined model of the Java types, and our relational mapping model of how these types are made persistent. -
Enum Summary Enum Description AttributeClassification An extended set ofAttribute.PersistentAttributeType
addingAttributeClassification.ANY
CollectionClassification Classifications of the plurality.RepresentationMode Enumeration of the built-in ways that Hibernate can represent the application's domain model.ValueClassification At the end of the day, any "value mapping" (id, version, attribute, collection element, etc.) can be one of a few classifications. -
Exception Summary Exception Description UnsupportedMappingException