Top Description Fields Constructors Methods
org.hibernate.action.internal

public Class EntityVerifyVersionProcess

extends Object
implements BeforeTransactionCompletionProcess
Class Inheritance
All Implemented Interfaces
org.hibernate.action.spi.BeforeTransactionCompletionProcess
Imports
org.hibernate.action.spi.BeforeTransactionCompletionProcess, org.hibernate.dialect.lock.OptimisticEntityLockException, org.hibernate.engine.spi.EntityEntry, .SessionImplementor, org.hibernate.persister.entity.EntityPersister, org.hibernate.pretty.MessageHelper

A BeforeTransactionCompletionProcess impl to verify an entity version as part of before-transaction-completion processing.
Author
Scott Marlow

Field Summary

Modifier and TypeField and Description
private final Object

Constructor Summary

AccessConstructor and Description
public
EntityVerifyVersionProcess(Object
The entity instance
object
)

Constructs an EntityVerifyVersionProcess

Method Summary

Modifier and TypeMethod and Description
public void
doBeforeTransactionCompletion(SessionImplementor
The session on which the transaction is preparing to complete.
session
)

Implements org.hibernate.action.spi.BeforeTransactionCompletionProcess.doBeforeTransactionCompletion.

Perform whatever processing is encapsulated here before completion of the transaction.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

objectback to summary
private final Object object

Constructor Detail

EntityVerifyVersionProcessback to summary
public EntityVerifyVersionProcess(Object object)

Constructs an EntityVerifyVersionProcess

Parameters
object:Object

The entity instance

Method Detail

doBeforeTransactionCompletionback to summary
public void doBeforeTransactionCompletion(SessionImplementor session)

Implements org.hibernate.action.spi.BeforeTransactionCompletionProcess.doBeforeTransactionCompletion.

Doc from org.hibernate.action.spi.BeforeTransactionCompletionProcess.doBeforeTransactionCompletion.

Perform whatever processing is encapsulated here before completion of the transaction.

Parameters
session:SessionImplementor

The session on which the transaction is preparing to complete.

Annotations
@Override