Defines the runtime mapping metamodel, which describes the mapping of the application's domain model parts (entities, attributes) to relational database objects (tables, columns).
Interface Summary Interface Description AggregatedIdentifierMappingAn "aggregated" composite identifier, which is another way to say that the identifier is represented as an embeddable. AssociationCommonality for an association, mainly details relative to the foreign-key AttributeMappingDescribes an attribute at the mapping model level. AttributeMetadata BasicEntityIdentifierMappingMapping for a simple, single-column identifier BasicValuedMappingAny basic-typed ValueMapping. BasicValuedModelPartDescribes a ModelPart which is a basic value, either a
Basicattribute a basic-valued collection part
BindableContract for things at the domain mapping level that can be bound into a JDBC
Bindable.JdbcValuesConsumerFunctional interface for consuming the JDBC values. CollectionIdentifierDescriptorDescriptor for the collection identifier. CollectionMappingType<C>MappingType descriptor for the collection Java type (List, Set, etc) CollectionPartHibernate understands mapping a collection into 4 parts The key - the foreign-key defining the association to the owner The element - for Map's this is analogous to the value The index - the List/array index or Map key The collection-id - this is only relevant for id-bag mappings CompositeIdentifierMappingMapping for a composite identifier DiscriminatableThings that have a discriminator associated with it. DiscriminatedAssociationModelPartA discriminated association. EmbeddableMappingTypeDescribes an embeddable - the actual type EmbeddableValuedModelPartDescribes the mapping of an embeddable (composite). EntityAssociationMappingCommonality between `many-to-one`, `one-to-one` and `any`, as well as entity-valued collection elements and map-keys EntityDiscriminatorMappingDetails about the discriminator for an entity hierarchy. EntityDiscriminatorMapping.DiscriminatorValueDetailsDetails for a particular discriminator value. EntityIdentifierMappingDescribes the mapping of an entity's identifier. EntityMappingTypeMapping of an entity EntityMappingType.ConstraintOrderedTableConsumer EntityRowIdMappingMapping of a row-id EntityValuedModelPartEntity-valued model part
OneToOneentity-valued collection element entity-valued Map key
EntityVersionMappingDescribes the mapping of an entity's version FilterRestrictableThings that can have associated
ForeignKeyDescriptorDescriptor for foreign-keys ForeignKeyDescriptor.Side JdbcMappingDescribes the mapping for things which can be expressed in a SQL query. JdbcMappingContainerContainer for one-or-more JdbcMappings ManagedMappingTypeMapping-model corollary to
MappingModelCreationLoggerLogger used during mapping-model creation MappingModelExpressible<T>Something that can be expressible at the mapping model level. MappingTypeCommon descriptor for types in the mapping model - entities, embeddables, String, Integer, etc ModelPartBase descriptor, within the mapping model, for any part of the application's domain model - an attribute, an entity identifier, collection elements, etc ModelPart.IndexedJdbcValueConsumer ModelPart.JdbcValueConsumer ModelPartContainerAccess to a group of ModelPart by name or for iteration. NaturalIdLoggingLogging related to natural-id operations NaturalIdMappingMapping for an entity's natural-id, if one is defined. NonAggregatedIdentifierMappingA "non-aggregated" composite identifier, which means that the entity itself does not define a singular representation of its identifier like an aggregated mapping does. NonAggregatedIdentifierMapping.IdentifierValueMapperThink of an AttributeConverter for id values to account for representation difference between virtual and id-class mappings NonTransientExceptionMarker interface for exceptions thrown during mapping-model creation which are not transient errors - they will never succeed PluralAttributeMappingMapping of a plural (collection-valued) attribute PluralAttributeMapping.IndexMetadata PropertyBasedMappingDescribes an attribute with a property access. Restrictable SelectableConsumerConsumer used to visit selectable (column/formula) mappings SelectableMappingMapping of a selectable (column/formula) SelectableMappingsA container for multiple selectable (column, formula) mappings. SingularAttributeMappingMapping for a singular (non-collection) attribute. SqlExpressibleUnifying contract for things that are capable of being an expression in the SQL AST. SqlTypedMappingModels the type of a thing that can be used as an expression in a SQL query TableDetailsDetails about a table TableDetails.KeyColumnDetails about a column within the key group TableDetails.KeyColumnConsumer TableDetails.KeyDetailsDetails about the primary key of a table ValuedModelPartDescribes a ModelPart that is also a ValueMapping (and therefore also a SelectableMappings). ValueMappingDescribes a mapping related to any part of the app's domain model - e.g. VirtualModelPartMarker interface for parts of the application domain model that do not actually exist in the model classes. WhereRestrictableThings which can have
Wheredeclarations - entities and collections
Class Summary Class Description AssociationKeyUsed as part of circularity detection MappingModelHelper SelectableConsumer.MutableSelectableMapping SelectablePathThe path for a selectable.
Enum Summary Enum Description CollectionPart.Nature EntityIdentifierMapping.NatureThe style of identifier used. ForeignKeyDescriptor.Nature