Support for many of the internal workings of Hibernate. See also the
Interface Summary Interface Description EntityEntryContext.EntityEntryCrossRefUsed in building the
ManagedTypeHelper.PersistentAttributeInterceptableAction<T>This interface has been introduced to mitigate JDK-8180450.
BiConsumerwill trigger a type pollution issue because of generics type-erasure:
BiConsumer's actual parameters types on the lambda implemention's
BiConsumer.accept(T, U)are stealthy enforced via
checkcast, messing up with type check cached data.
Class Summary Class Description AbstractEntityEntryA base implementation of EntityEntry AbstractEntityEntry.EnumState<E extends Enum<E>>Represents an enum value stored within a number value, using four bits starting at a specified offset. BatchFetchQueueHelper CacheHelper CascadeDelegate responsible for, in conjunction with the various actions, implementing cascade processing. CollectionsImplements book-keeping for the collection persistence by reachability algorithm EntityEntryContextDefines a context for maintaining the relation between an entity associated with the Session ultimately owning this EntityEntryContext instance and that entity's corresponding EntityEntry. EntityEntryExtraStateHolderContains optional state from
ForeignKeysAlgorithms related to foreign key constraint transparency ForeignKeys.NullifierDelegate for handling nullifying ("null"ing-out) non-cascaded associations ImmutableEntityEntryAn EntityEntry implementation for immutable entities. ImmutableEntityEntryFactoryFactory for the safe approach implementation of
ManagedTypeHelperThis is a helper to encapsulate an optimal strategy to execute type checks for interfaces which attempts to avoid the performance issues tracked as JDK-8180450; the problem is complex and explained better on the OpenJDK tracker; we'll focus on a possible solution here. MutableEntityEntryAn EntityEntry implementation for mutable entities. MutableEntityEntryFactoryFactory for the safe approach implementation of
NaturalIdResolutionsImpl NonNullableTransientDependenciesTracks non-nullable transient entities that would cause a particular entity insert to fail. NullabilityImplements the algorithm for validating property values for illegal null values SessionEventListenerManagerImpl StatefulPersistenceContextA stateful implementation of the
PersistenceContextcontract meaning that we maintain this state throughout the life of the persistence context.
StatisticalLoggingSessionEventListener TwoPhaseLoadFunctionality relating to the Hibernate two-phase loading process, that may be reused by persisters that do not use the Loader framework UnsavedValueFactoryHelper for dealing with unsaved value handling VersioningUtilities for dealing with optimistic locking values.
Enum Summary Enum Description AbstractEntityEntry.BooleanStateRepresents a boolean flag stored within a number value, using one bit at a specified offset. CascadePointDescribes the point at which a cascade is occurring Nullability.NullabilityCheckType