Top Description Interfaces Classes Enums
[default module]

Package org.hibernate.engine.spi


This package defines some central internal SPI abstractions used throughout the implementation of Hibernate.

Interface Summary

Modifier and TypeInterface and Description
public interface
CascadeStyle

A contract for defining the aspects of cascading various persistence actions.

public interface
CascadingAction<T>

A session action that may be cascaded from parent entity to its children

public interface
ComparableExecutable

We frequently need the union type of Executable, Comparable of ComparableExecutable, Serializable; this interface represents such union; this helps to simplify several generic signatures.

public interface
public interface
public interface
EntityEntry

Information about the current state of a managed entity instance with respect to its persistent state.

public interface
EntityEntryExtraState

Navigation methods for extra state objects attached to EntityEntry.

public interface
public interface
EntityHolder

Holder for an entry in the PersistenceContext for an EntityKey.

public interface
public interface
ExtendedSelfDirtinessTracker

A self dirtiness tracker that declares additional methods that are intended for internal communication.

public interface
Managed

Contract for classes (specifically, entities and components/embeddables) that are "managed".

public interface
ManagedComposite

Specialized Managed contract for component/embeddable classes.

public interface
ManagedEntity

Specialized Managed contract for entity classes.

public interface
ManagedMappedSuperclass

Specialized Managed contract for MappedSuperclass classes.

public interface
Mapping

Declares operations used by implementors of Type that are common to "compiled" mappings held at runtime by a org.hibernate.SessionFactory and "uncompiled" mappings held by a org.hibernate.cfg.Configuration.
public interface
NaturalIdResolutions

Manages the cached resolutions related to natural-id (to and from identifier)

public interface
PersistenceContext

Represents the state of "stuff" Hibernate is tracking, including (not exhaustive):

  • entities
  • collections
  • snapshots
  • proxies
public interface
public interface
PersistentAttributeInterceptor

Deprecated as a consequence of LazyPropertyInitializer.InterceptorImplementor being deprecated.
The base contract for interceptors that can be injected into enhanced entities for the purpose of intercepting attribute access
public interface
PrimeAmongSecondarySupertypes

For a full explanation of the purpose of this interface see ManagedTypeHelper.

public interface
Resolution

Used to put natural id values into collections.

public interface
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.

public interface
SessionBuilderImplementor

Defines the internal contract between the SessionBuilder and other parts of Hibernate.

public interface
public interface
SessionFactoryImplementor

Deprecated as a consequence of Mapping being deprecated.
Defines the internal contract between the SessionFactory and the internal implementation of Hibernate.
public interface
SessionImplementor

Defines the "internal contract" between Session and other parts of Hibernate including implementors of org.hibernate.type.Type, EntityPersister, and org.hibernate.persister.collection.CollectionPersister.

public interface
SharedSessionContractImplementor

Defines the internal contract shared between org.hibernate.Session and org.hibernate.StatelessSession as used by other parts of Hibernate, including implementors of org.hibernate.type.Type, EntityPersister, and org.hibernate.persister.collection.CollectionPersister.

public interface
UnsavedValueStrategy

The base contract for determining transient status versus detached status.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractDelegatingSessionBuilder

Base class for SessionBuilder implementations that wish to implement only parts of that contract themselves while forwarding other method invocations to a delegate instance.

public abstract class
AbstractDelegatingSessionBuilderImplementor

Base class for SessionBuilderImplementor implementations that wish to implement only parts of that contract themselves while forwarding other method invocations to a delegate instance.

public abstract class
AbstractDelegatingSharedSessionBuilder

Base class for SharedSessionBuilder implementations that wish to implement only parts of that contract themselves while forwarding other method invocations to a delegate instance.

public abstract class
public class
ActionQueue

Responsible for maintaining the queue of actions related to events.

public class
AssociationKey

Identifies a named association belonging to a particular entity instance.

public class
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 collections
public class
CacheInitiator

Initiator for second level cache support

public class
public class
public class
CollectionEntry

We need an entry to tell us all about the current state of a collection with respect to its persistent state

public class
CollectionKey

Uniquely identifies a collection instance in a particular session.

public class
EffectiveEntityGraph

Think of this as the composite modeling of a graph and the semantic.

public class
EntityKey

Uniquely identifies of an entity instance in a particular Session by identifier.

public class
EntityUniqueKey

Used to uniquely key an entity instance in relation to a particular session by some unique property reference, as opposed to identifier.

public class
public class
FilterDefinition

Represents the definition of a filter.

public class
IdentifierValue

A strategy for determining if an identifier value is an identifier of a new transient instance or a previously persistent transient instance.

public class
LoadQueryInfluencers

Centralize all options which can influence the SQL query needed to load an entity.

public class
SessionDelegatorBaseImpl

A wrapper class that delegates all method invocations to a delegate instance of SessionImplementor.

public class
SessionFactoryDelegatingImpl

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Base delegating implementation of the SessionFactory and SessionFactoryImplementor contracts for intended for easier implementation of SessionFactory.
public class
SessionLazyDelegator

This helper class allows decorating a Session instance, while the instance itself is lazily provided via a Supplier.

public class
SharedSessionDelegatorBaseImpl

A wrapper class that delegates all method invocations to a delegate instance of SharedSessionContractImplementor.

public class
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 initialization

public class
TypedValue

An ordered pair of a value and its Hibernate type.

public class
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

Modifier and TypeEnum and Description
public enum
CachedNaturalIdValueSource

The type of action from which the cache call is originating.

public enum
ExecuteUpdateResultCheckStyle

For persistence operations (INSERT, UPDATE, DELETE) what style of determining results (success/failure) is to be used.

public enum
Status

Represents the status of an entity with respect to this session.

public enum
ValueInclusion

An enum of the different ways a value might be "included".