Package org.hibernate.engine.spi
package org.hibernate.engine.spi
This package defines some central internal SPI abstractions
used throughout the implementation of Hibernate.
-
ClassDescriptionBase class for
SessionBuilder
implementations that wish to implement only parts of that contract themselves while forwarding other method invocations to a delegate instance.Base class forSessionBuilderImplementor
implementations that wish to implement only parts of that contract themselves while forwarding other method invocations to a delegate instance.Base class forSharedSessionBuilder
implementations that wish to implement only parts of that contract themselves while forwarding other method invocations to a delegate instance.Responsible for maintaining the queue of actions related to events.Wrapper class allowing to bind the same transaction completion process queues in different sessions.Identifies a named association belonging to a particular entity instance.Keeps track of: entity and collection keys that are available for batch fetching details related to queries which load entities with sub-select-fetchable collectionsThe type of action from which the cache call is originating.Initiator for second level cache supportA contract for defining the aspects of cascading various persistence actions.A session action that may be cascaded from parent entity to its childrenWe need an entry to tell us all about the current state of a collection with respect to its persistent stateUniquely identifies a collection instance in a particular session.We frequently need the union type of Executable, Comparable of ComparableExecutable, Serializable; this interface represents such union; this helps to simplify several generic signatures.Think of this as the composite modeling of a graph and the semantic.Information about the current state of a managed entity instance with respect to its persistent state.Navigation methods for extra state objects attached toEntityEntry
.Contract to buildEntityEntry
Holder for an entry in thePersistenceContext
for anEntityKey
.Uniquely identifies of an entity instance in a particular Session by identifier.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
.ExecutableList.Sorter<ComparableExecutable>Provides a sorting interface forExecutableList
.Deprecated, for removal: This API element is subject to removal in a future version.A self dirtiness tracker that declares additional methods that are intended for internal communication.Represents the definition of afilter
.A strategy for determining if an identifier value is an identifier of a new transient instance or a previously persistent transient instance.Centralize all options which can influence the SQL query needed to load an entity.Contract for classes (specifically, entities and components/embeddables) that are "managed".SpecializedManaged
contract for component/embeddable classes.SpecializedManaged
contract for entity classes.SpecializedManaged
contract for MappedSuperclass classes.Deprecated.Manages the cached resolutions related to natural-id (to and from identifier)Represents the state of "stuff" Hibernate is tracking, including (not exhaustive): entities collections snapshots proxiesThe base contract for interceptors that can be injected into enhanced entities for the purpose of intercepting attribute accessFor a full explanation of the purpose of this interface seeManagedTypeHelper
.Used to put natural id values into collections.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.Defines the internal contract between theSessionBuilder
and other parts of Hibernate.A wrapper class that delegates all method invocations to a delegate instance ofSessionImplementor
.Base delegating implementation of theSessionFactory
andSessionFactoryImplementor
contracts for intended for easier implementation ofSessionFactory
.Defines the internal contract between theSessionFactory
and the internal implementation of Hibernate.Deprecated, for removal: This API element is subject to removal in a future version.this is no longer usedDefines the "internal contract" betweenSession
and other parts of Hibernate including implementors ofType
,EntityPersister
, andCollectionPersister
.This helper class allows decorating a Session instance, while the instance itself is lazily provided via aSupplier
.Defines the internal contract shared betweenSession
andStatelessSession
as used by other parts of Hibernate, including implementors ofType
,EntityPersister
, andCollectionPersister
.A wrapper class that delegates all method invocations to a delegate instance ofSharedSessionContractImplementor
.Represents the status of an entity with respect to this session.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 initializationAn ordered pair of a value and its Hibernate type.The base contract for determining transient status versus detached status.An enum of the different ways a value might be "included".A strategy for determining if a version value is a version of a new transient instance or a previously persistent transient instance.
Expectation
class