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

public Class EntityIncrementVersionProcess

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

A BeforeTransactionCompletionProcess impl to verify and increment an entity version as party of before-transaction-completion processing
Author
Scott Marlow

Field Summary

Modifier and TypeField and Description
private final Object

Constructor Summary

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

Constructs an EntityIncrementVersionProcess for the given entity.

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.

Deprecated as a consequence of SessionImplementor being deprecated.
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

EntityIncrementVersionProcessback to summary
public EntityIncrementVersionProcess(Object object)

Constructs an EntityIncrementVersionProcess for the given entity.

Parameters
object:Object

The entity instance

Method Detail

doBeforeTransactionCompletionback to summary
public void doBeforeTransactionCompletion(SessionImplementor session)

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

Deprecated

as a consequence of SessionImplementor being deprecated. See corresponding docs for further information.

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