程序包 org.hibernate.mapping
This package defines the Hibernate configuration-time metamodel.
-
接口概要 接口 说明 AttributeContainer Defines an additional contract for PersistentClass/Join in terms of being able to contain attributes (Property).AuxiliaryDatabaseObject Auxiliary database objects (i.e., triggers, stored procedures, etc) defined in the mappings.Fetchable Any mapping with an outer-join attributeFilterable Defines mapping elements to which filters may be applied.KeyValue Represents an identifying key of a table: the value for primary key of an entity, or a foreign key of a collection or join table or joined subclass table.MetaAttributable Common interface for things that can handle meta attributes.PersistentClassVisitor RelationalModel 已过时。 (since 5.2) not needed anymore.Selectable Models the commonality between a column and a formula (computed value).TableOwner Additional, optional contract as part pf thePersistentClasshierarchy used to differentiate entity bindings for entities that map to their own table (root, union-subclass, joined-subclass) versus those that do not (discriminator-subclass).Value A value is anything that is persisted by value, instead of by reference.ValueVisitor -
类概要 类 说明 Any A Hibernate "any" type (ie. polymorphic association to one-of-several tables).Array An array mapping has a primary key consisting of the key columns + index column.Backref Bag A bag permits duplicates, so it has no primary keyCollection Mapping for a collection.Column A column of a relational database tableComponent The mapping for a component, composite element, composite identifier, etc.Component.StandardGenerationContextLocator Component.ValueGenerationPlan Constraint A relational constraint.DenormalizedTable DependantValue A value which is "typed" by reference to some other value (for example, a foreign key is typed by the referenced primary key).FetchProfile A fetch profile allows a user to dynamically modify the fetching strategy used for particular associations at runtime, whereas that information was historically only statically defined in the metadata.FetchProfile.Fetch Defines an individual association fetch within the given profile.ForeignKey A foreign key constraintFormula A formula is a derived column valueIdentifierBag An IdentifierBag has a primary key consisting of just the identifier columnIdentifierCollection A collection with a synthetic "identifier" columnIdGenerator Identifier generator container, Useful to keep named generator in annotationsIndex A relational table indexIndexBackref IndexedCollection Indexed collections include Lists, Maps, arrays and primitive arrays.Join JoinedSubclass A subclass in a table-per-subclass mappingList A list mapping has a primary key consisting of the key columns + index column.ManyToOne A many-to-one association mappingMap A map has a primary key consisting of the key columns + index columns.MappedSuperclass Represents a @MappedSuperclass.MetaAttribute A meta attribute is a named value or values.OneToMany A mapping for a one-to-many associationOneToOne A one-to-one association mappingPersistentClass Mapping for an entity.PrimaryKey A primary key constraintPrimitiveArray A primitive array has a primary key consisting of the key columns + index column.Property Represents a property as part of an entity or a component.PropertyGeneration 已过时。 This is replaced byValueGenerationandGenerationTimingRootClass The root class of an inheritance hierarchySet A set with no nullable element columns.SimpleValue Any value that maps to columns.SingleTableSubclass Subclass A subclass in a table-per-class-hierarchy mappingSyntheticProperty Models a property which does not actually exist in the model.Table A relational tableTable.ForeignKeyKey ToOne A simple-point association (ie. a reference to another entity).TypeDef Placeholder for typedef informationUnionSubclass A subclass in a table-per-concrete-class mappingUniqueKey A relational unique key constraint -
枚举概要 枚举 说明 MetadataSource Enumeration of the known places from which a piece of metadata may come.