This package abstracts persistence mechanisms for entities.
Interface Summary Interface Description AbstractEntityPersister.CacheEntryHelperConsolidated these onto a single helper because the 2 pieces work in tandem. AttributeMappingsListThis is essentially a List of AttributeMapping(s), but exposing an interface which is more suitable to our needs; in particular it expresses the immutable nature of this structure, and allows us to extend it with additional convenience methods such as
AttributeMappingsMapSimilarly to @
AttributeMappingsList, this is essentially an immutable Map of AttributeMapping(s), allowing iteration of all mappings but also retrieval by name (a String key).
DiscriminatorMetadataProvides the information needed to properly handle type discrimination in HQL queries, either by 'something.class' or 'type(something)' references. EntityPersisterA strategy for persisting a mapped entity class. Joinable Deprecated, for removal: This API element is subject to removal in a future version.Use
TableGroupJoinProducerinstead depending on need
Loadable Deprecated, for removal: This API element is subject to removal in a future version. LockableContract for things that can be locked via a
EntityPersisterthat may be loaded by outer join using and may be an element of a one-to-many association.
PropertyMapping Deprecated, for removal: This API element is subject to removal in a future version.This interface is obsolete Queryable Deprecated.Use
EntityPersisterthat supports queries expressed in the platform native SQL dialect.
EntityPersisterthat can be loaded by a non-primary unique key.
Class Summary Class Description AbstractEntityPersisterBasic functionality for persisting an entity via JDBC through either generated or custom SQL AbstractPropertyMapping Deprecated, for removal: This API element is subject to removal in a future version.Replaced by
AttributeMappingsMap.Builder BasicEntityPropertyMapping DiscriminatorHelperOperations needed by persisters for working with discriminators. DiscriminatorType<T>TODO : javadoc DiscriminatorValueDetailsImpl JoinedSubclassEntityPersisterAn
EntityPersisterimplementing the normalized
InheritanceType.JOINEDinheritance mapping strategy for an entity and its inheritance hierarchy.
Queryable.Declarer SessionFactoryBasedWrapperOptions SingleTableEntityPersisterThe default implementation of the
InheritanceType.TABLE_PER_CLASSmapping strategy for an entity and its inheritance hierarchy.