Package org.hibernate.engine.internal
Support for many of the internal workings of Hibernate.
See also the org.hibernate.internal
package.
-
Interface Summary Interface Description EntityEntryContext.EntityEntryCrossRef Used in building theEntityEntryContext.reentrantSafeEntityEntries()
entriesManagedTypeHelper.ManagedEntityConsumer ManagedTypeHelper.PersistentAttributeInterceptableAction<T> This interface has been introduced to mitigate JDK-8180450.
Sadly, usingBiConsumer
will trigger a type pollution issue because of generics type-erasure:BiConsumer
's actual parameters types on the lambda implemention'sBiConsumer.accept(T, U)
are stealthy enforced viacheckcast
, messing up with type check cached data.ManagedTypeHelper.SelfDirtinessTrackerAction<T> ManagedTypeHelper.SelfDirtinessTrackerConsumer -
Class Summary Class Description AbstractEntityEntry A base implementation ofEntityEntry
.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 Cascade Delegate responsible for, in conjunction with the various actions, implementing cascade processing.Collections Implements book-keeping for the collection persistence by reachability algorithmEntityEntryContext Defines a context for maintaining the relation between an entity associated with the Session ultimately owning this EntityEntryContext instance and that entity's corresponding EntityEntry.EntityEntryExtraStateHolder Contains optional state fromEntityEntry
.ForeignKeys Algorithms related to foreign key constraint transparencyForeignKeys.Nullifier Delegate for handling nullifying ("null"ing-out) non-cascaded associationsImmutableEntityEntry AnEntityEntry
implementation for immutable entities.ImmutableEntityEntryFactory Factory for the safe approach implementation ofEntityEntry
.ManagedTypeHelper This 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.MutableEntityEntry AnEntityEntry
implementation for mutable entities.MutableEntityEntryFactory Factory for the safe approach implementation ofEntityEntry
.NaturalIdResolutionsImpl NonNullableTransientDependencies Tracks non-nullable transient entities that would cause a particular entity insert to fail.Nullability Implements the algorithm for validating property values for illegal null valuesSessionEventListenerManagerImpl StatefulPersistenceContext A stateful implementation of thePersistenceContext
contract, meaning that we maintain this state throughout the life of the persistence context.StatisticalLoggingSessionEventListener TwoPhaseLoad Functionality relating to the Hibernate two-phase loading process, that may be reused by persisters that do not use the Loader frameworkUnsavedValueFactory Helper for dealing with unsaved value handlingVersioning Utilities for dealing with optimistic locking values. -
Enum Summary Enum Description AbstractEntityEntry.BooleanState Represents a boolean flag stored within a number value, using one bit at a specified offset.CascadePoint Describes the point at which a cascade is occurringNullability.NullabilityCheckType