Package org.hibernate.engine.spi
This package defines some central internal SPI abstractions
used throughout the implementation of Hibernate.
-
Interface Summary Interface Description CascadeStyle A contract for defining the aspects of cascading various persistence actions.CascadingAction<T> A session action that may be cascaded from parent entity to its childrenComparableExecutable We frequently need the union type of Executable, Comparable of ComparableExecutable, Serializable; this interface represents such union; this helps to simplify several generic signatures.CompositeOwner CompositeTracker EntityEntry Information about the current state of a managed entity instance with respect to its persistent state.EntityEntryExtraState Navigation methods for extra state objects attached toEntityEntry
.EntityEntryFactory Contract to buildEntityEntry
EntityHolder Holder for an entry in thePersistenceContext
for anEntityKey
.ExceptionConverter ExecutableList.Sorter<ComparableExecutable> Provides a sorting interface forExecutableList
.ExtendedSelfDirtinessTracker A self dirtiness tracker that declares additional methods that are intended for internal communication.Managed Contract for classes (specifically, entities and components/embeddables) that are "managed".ManagedComposite SpecializedManaged
contract for component/embeddable classes.ManagedEntity SpecializedManaged
contract for entity classes.ManagedMappedSuperclass SpecializedManaged
contract for MappedSuperclass classes.Mapping Deprecated. NaturalIdResolutions Manages the cached resolutions related to natural-id (to and from identifier)PersistenceContext Represents the state of "stuff" Hibernate is tracking, including (not exhaustive): entities collections snapshots proxiesPersistentAttributeInterceptable PersistentAttributeInterceptor The base contract for interceptors that can be injected into enhanced entities for the purpose of intercepting attribute accessPrimeAmongSecondarySupertypes For a full explanation of the purpose of this interface seeManagedTypeHelper
.Resolution Used to put natural id values into collections.SelfDirtinessTracker Contract for an entity to report that it tracks the dirtiness of its own state, as opposed to needing Hibernate to perform state-diff dirty calculations.SessionBuilderImplementor Defines the internal contract between theSessionBuilder
and other parts of Hibernate.SessionEventListenerManager SessionFactoryImplementor Defines the internal contract between theSessionFactory
and the internal implementation of Hibernate.SessionFactoryImplementor.DeserializationResolver<T extends SessionFactoryImplementor> Deprecated, for removal: This API element is subject to removal in a future version. this is no longer usedSessionImplementor Defines the "internal contract" betweenSession
and other parts of Hibernate including implementors ofType
,EntityPersister
, andCollectionPersister
.SharedSessionContractImplementor Defines the internal contract shared betweenSession
andStatelessSession
as used by other parts of Hibernate, including implementors ofType
,EntityPersister
, andCollectionPersister
.SubselectFetch.RegistrationHandler UnsavedValueStrategy The base contract for determining transient status versus detached status. -
Class Summary Class Description AbstractDelegatingSessionBuilder Base class forSessionBuilder
implementations that wish to implement only parts of that contract themselves while forwarding other method invocations to a delegate instance.AbstractDelegatingSessionBuilderImplementor Base class forSessionBuilderImplementor
implementations that wish to implement only parts of that contract themselves while forwarding other method invocations to a delegate instance.AbstractDelegatingSharedSessionBuilder Base class forSharedSessionBuilder
implementations that wish to implement only parts of that contract themselves while forwarding other method invocations to a delegate instance.AbstractDelegatingWrapperOptions ActionQueue Responsible for maintaining the queue of actions related to events.ActionQueue.TransactionCompletionProcesses Wrapper class allowing to bind the same transaction completion process queues in different sessions.AssociationKey Identifies a named association belonging to a particular entity instance.BatchFetchQueue Keeps track of: entity and collection keys that are available for batch fetching details related to queries which load entities with sub-select-fetchable collectionsCacheInitiator Initiator for second level cache supportCascadeStyles CascadeStyles.BaseCascadeStyle CascadeStyles.MultipleCascadeStyle CascadingActions CascadingActions.BaseCascadingAction<T> CollectionEntry We need an entry to tell us all about the current state of a collection with respect to its persistent stateCollectionKey Uniquely identifies a collection instance in a particular session.EffectiveEntityGraph Think of this as the composite modeling of a graph and the semantic.EntityKey Uniquely identifies of an entity instance in a particular Session by identifier.EntityUniqueKey Used to uniquely key an entity instance in relation to a particular session by some unique property reference, as opposed to identifier.ExecutableList<E extends ComparableExecutable> A list ofexecuteble actions
.FilterDefinition Represents the definition of afilter
.IdentifierValue A strategy for determining if an identifier value is an identifier of a new transient instance or a previously persistent transient instance.LoadQueryInfluencers Centralize all options which can influence the SQL query needed to load an entity.SessionDelegatorBaseImpl A wrapper class that delegates all method invocations to a delegate instance ofSessionImplementor
.SessionFactoryDelegatingImpl Base delegating implementation of theSessionFactory
andSessionFactoryImplementor
contracts for intended for easier implementation ofSessionFactory
.SessionLazyDelegator This helper class allows decorating a Session instance, while the instance itself is lazily provided via aSupplier
.SharedSessionDelegatorBaseImpl A wrapper class that delegates all method invocations to a delegate instance ofSharedSessionContractImplementor
.SubselectFetch Encapsulates details related to entities which contain sub-select-fetchable collections and which were loaded in a Session so that those collections may be sub-select fetched later during initializationSubselectFetch.StandardRegistrationHandler TypedValue An ordered pair of a value and its Hibernate type.VersionValue A strategy for determining if a version value is a version of a new transient instance or a previously persistent transient instance. -
Enum Summary Enum Description CachedNaturalIdValueSource The type of action from which the cache call is originating.ExecuteUpdateResultCheckStyle Deprecated, for removal: This API element is subject to removal in a future version. Use anExpectation
classStatus Represents the status of an entity with respect to this session.ValueInclusion An enum of the different ways a value might be "included".