Package org.hibernate.persister.entity
This package abstracts persistence mechanisms for entities.
-
Interface Summary Interface Description AbstractEntityPersister.CacheEntryHelper Consolidated these onto a single helper because the 2 pieces work in tandem.AttributeMappingsList This 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 asAttributeMappingsList.indexedForEach(IndexedConsumer)
.AttributeMappingsMap Similarly to @AttributeMappingsList
, this is essentially an immutable Map of AttributeMapping(s), allowing iteration of all mappings but also retrieval by name (a String key).DiscriminatorMetadata Provides the information needed to properly handle type discrimination in HQL queries, either by 'something.class' or 'type(something)' references.EntityPersister A strategy for persisting a mapped entity class.Joinable Deprecated, for removal: This API element is subject to removal in a future version. Loadable Deprecated, for removal: This API element is subject to removal in a future version. Lockable Contract for things that can be locked via aLockingStrategy
.OuterJoinLoadable AEntityPersister
that 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 obsoleteQueryable Deprecated. UseEntityMappingType
insteadSQLLoadable AnEntityPersister
that supports queries expressed in the platform native SQL dialect.UniqueKeyLoadable AnEntityPersister
that can be loaded by a non-primary unique key. -
Class Summary Class Description AbstractEntityPersister Basic functionality for persisting an entity via JDBC through either generated or custom SQLAbstractPropertyMapping Deprecated, for removal: This API element is subject to removal in a future version. Replaced byEntityMappingType
AttributeMappingsMap.Builder BasicEntityPropertyMapping DiscriminatorHelper Operations needed by persisters for working with discriminators.DiscriminatorType<T> TODO : javadocDiscriminatorValueDetailsImpl JoinedSubclassEntityPersister AnEntityPersister
implementing the normalizedInheritanceType.JOINED
inheritance mapping strategy for an entity and its inheritance hierarchy.Queryable.Declarer SessionFactoryBasedWrapperOptions SingleTableEntityPersister The default implementation of theEntityPersister
interface.UnionSubclassEntityPersister AnEntityPersister
implementing theInheritanceType.TABLE_PER_CLASS
mapping strategy for an entity and its inheritance hierarchy.