Top Description Constructors Methods
org.hibernate.engine.internal

public final Class TwoPhaseLoad

extends Object
Class Inheritance
Imports
org.hibernate.LockMode, org.hibernate.engine.spi.EntityKey, .SharedSessionContractImplementor, .Status, org.hibernate.persister.entity.EntityPersister

Functionality relating to the Hibernate two-phase loading process, that may be reused by persisters that do not use the Loader framework
Author
Gavin King

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static void
addUninitializedCachedEntity(final EntityKey
The entity key
key
,
final Object
The entity instance
object
,
final EntityPersister
The entity persister
persister
,
final LockMode
The lock mode
lockMode
,
final Object
The version
version
,
final SharedSessionContractImplementor
The Session
session
)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

TwoPhaseLoadback to summary
private TwoPhaseLoad()

Method Detail

addUninitializedCachedEntityback to summary
public static void addUninitializedCachedEntity(final EntityKey key, final Object object, final EntityPersister persister, final LockMode lockMode, final Object version, final SharedSessionContractImplementor session)
Parameters
key:EntityKey

The entity key

object:Object

The entity instance

persister:EntityPersister

The entity persister

lockMode:LockMode

The lock mode

version:Object

The version

session:SharedSessionContractImplementor

The Session