Package org.hibernate.metamodel.mapping
Hibernate's run-time mapping model. This model defines the mapping of the application's domain model
to database objects (tables, columns, etc).
-
Interface Summary Interface Description Association Commonality for an association, mainly details relative to the foreign-keyAttributeMapping Describes an attribute at the mapping model level.AttributeMetadata AttributeMetadataAccess Provides access to details about an attribute specific to a particular entity in the hierarchy.BasicEntityIdentifierMapping Mapping for a simple identifierBasicValuedMapping Any basic-typed ValueMapping.BasicValuedModelPart Describes a ModelPart which is a basic value, either aBasic
attribute a basic-valued collection partBindable Contract for things at the domain mapping level that can be bound into a JDBCPreparedStatement
.Bindable.JdbcValuesConsumer Functional interface for consuming the JDBC values.CollectionIdentifierDescriptor Descriptor for the collection identifier.CollectionMappingType<C> MappingType descriptor for the collection Java type (List, Set, etc)CollectionPart Hibernate 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 mappingsCompositeIdentifierMapping Mapping for a composite identifierDiscriminatable Things that have a discriminator associated with it.DiscriminatedAssociationModelPart A discriminated association.EmbeddableMappingType Describes an embeddable - the actual typeEmbeddableValuedModelPart Describes the mapping of an embeddable (composite).EntityAssociationMapping Commonality between `many-to-one`, `one-to-one` and `any`, as well as entity-valued collection elements and map-keysEntityDiscriminatorMapping EntityIdentifierMapping Describes the mapping of an entity's identifier.EntityMappingType Mapping of an entityEntityMappingType.ConstraintOrderedTableConsumer EntityRowIdMapping Mapping of a row-idEntityValuedModelPart Entity-valued model partManyToOne
OneToOne
entity-valued collection element entity-valued Map keyEntityVersionMapping Describes the mapping of an entity's versionFilterRestrictable Things that can have associatedFilter
declarations.ForeignKeyDescriptor Descriptor for foreign-keysForeignKeyDescriptor.Side GeneratedValueResolver Generalized contract covering an attribute's generation handlingJdbcMapping Models the type of a thing that can be used as an expression in a SQL queryJdbcMappingContainer Container for one-or-more JdbcMappingsManagedMappingType Commonality in regards to the mapping type system for all managed domain types - entity types, mapped-superclass types, composite types, etcMappingModelCreationLogger Logger used during mapping-model creationMappingModelExpressible<T> Something that can be expressible at the mapping model level.MappingModelVisitor MappingType Parts of the ModelPart hierarchy that are type descriptors, as opposed to attributes e.g.MappingTypedModelPart ModelPart Describes a mapping related to any part of the app's domain model - e.g.ModelPart.JdbcValueConsumer ModelPartContainer Access to a group of ModelPart by name or for iterationNaturalIdLogging Logging related to natural-id operationsNaturalIdMapping Mapping for an entity's natural-id, if one is definedNonAggregatedIdentifierMapping A "non-aggregated" composite identifier, which means that the entity itself does not define a singular representation of its identifier like anEmbeddedId
does.NonAggregatedIdentifierMapping.IdentifierValueMapper Think of an AttributeConverter for id values to account for representation difference between virtual and id-class mappingsNonTransientException Marker interface for exceptions thrown during mapping-model creation which are not transient errors - they will never succeedPluralAttributeMapping Mapping of a plural (collection-valued) attributePluralAttributeMapping.IndexMetadata PropertyBasedMapping Describes an attribute with a property access.Queryable Defines a mapping model contract for things that can be queried in the HQL, Criteria, etc sense.Restrictable SelectableConsumer Consumer used to visit selectable (column/formula) mappingsSelectableMapping Mapping of a selectable (column/formula)SelectableMappings A container for multiple selectable (column, formula) mappings.SingularAttributeMapping Mapping for a singular (non-collection) attribute.SqlExpressible Unifying contract for things that are capable of being an expression in the SQL AST.SqlTypedMapping Models the type of a thing that can be used as an expression in a SQL queryValueMapping Describes a mapping related to any part of the app's domain model - e.g.VirtualModelPart Marker interface for parts of the application domain model that do not actually exist in the model classesWhereRestrictable Things which can haveWhere
declarations - entities and collections -
Class Summary Class Description AssociationKey Used as part of circularity detectionInDatabaseGeneratedValueResolver GeneratedValueResolver impl for in-db generation.InMemoryGeneratedValueResolver GeneratedValueResolver impl for in-memory generationMappingModelHelper MappingModelWalker -
Enum Summary Enum Description CollectionPart.Nature ForeignKeyDescriptor.Nature