Top Interfaces Classes Enums
[default module]

Package org.hibernate.engine.spi


Interface Summary

Modifier and TypeInterface and Description
public interface
CacheImplementor

SPI contract for Hibernate's second-level cache engine
public interface
CascadeStyle

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

public interface
CascadingAction

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

public interface
public interface
public interface
EnhancedEntity

This is a special marker interface designed to represent the union of several traits: - ManagedEntity - Managed - PersistentAttributeInterceptable - SelfDirtinessTracker The need for such a "union" isn't natural in the Java language, but represents a technicality we need to bypass performance issues caused by https://bugs.openjdk.org/browse/JDK-8180450

public interface
EntityEntry

We need an entry to tell us all about the current state of an object with respect to its persistent state Implementation Warning: Hibernate needs to instantiate a high amount of instances of this class, therefore we need to take care of its impact on memory consumption.

public interface
EntityEntryExtraState

Navigation methods for extra state objects attached to org.hibernate.engine.spi.EntityEntry.

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

Defines operations common to "compiled" mappings (ie.

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
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<T extends SessionBuilder<T extends SessionBuilder>>

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

public interface
public interface
SessionFactoryImplementor

Deprecated as a consequence of SessionFactory being deprecated.
Defines the internal contract between the SessionFactory and other parts of Hibernate such as implementors of Type.
public interface
SessionImplementor

Deprecated as a consequence of Session and HibernateEntityManagerImplementor being deprecated.
Defines the "internal contract" for Session and other parts of Hibernate such as org.hibernate.type.Type, org.hibernate.persister.entity.EntityPersister and org.hibernate.persister.collection.CollectionPersister implementations.
public interface
SessionOwner

Deprecated (since 5.2) since consolidating hibernate-entitymanager into hibernate-core I believe this is no longer needed.
The contract for a Session owner.
public interface
SharedSessionContractImplementor

Defines the internal contract shared between org.hibernate.Session and org.hibernate.StatelessSession as used by other parts of Hibernate (such as org.hibernate.type.Type, EntityPersister and org.hibernate.persister.collection.CollectionPersister implementors A Session, through this interface and SharedSessionContractImplementor, implements:

public interface
UnsavedValueStrategy

The base contract for determining transient status versus detached status.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractDelegatingSessionBuilder<T extends SessionBuilder<T extends SessionBuilder>>

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<T extends SessionBuilderImplementor>

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<T extends SharedSessionBuilder<T extends SharedSessionBuilder>>

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

Tracks entity and collection keys that are available for batch fetching, and the queries which were used to load entities, which can be re-used as a subquery for loading owned 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
ExecutableList<
Intersection type describing Executable implementations
E extends Executable & Comparable<T> & Serializable
>

Specialized encapsulating of the state pertaining to each Executable list.

public class
FilterDefinition

A FilterDefinition defines the global attributes of a dynamic 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
NamedQueryDefinition

Definition of a named query, defined in the mapping metadata.

public class
public class
NamedSQLQueryDefinition

Definition of a named native SQL query, defined in the mapping metadata.

public class
public class
public class
RowSelection

Represents a selection criteria for rows in a JDBC java.sql.ResultSet

public class
SessionDelegatorBaseImpl

Deprecated as a consequence of SessionImplementor being deprecated.
This class is meant to be extended.
public class
SessionFactoryDelegatingImpl

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

Deprecated as a consequence of Session being deprecated.
This helper class allows decorating a Session instance, while the instance itself is lazily provided via a Supplier.
public class
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".