Package org.hibernate.action.internal
Class EntityIncrementVersionProcess
- java.lang.Object
-
- org.hibernate.action.internal.EntityIncrementVersionProcess
-
- All Implemented Interfaces:
BeforeTransactionCompletionProcess
public class EntityIncrementVersionProcess extends Object implements BeforeTransactionCompletionProcess
ABeforeTransactionCompletionProcess
implementation to verify and increment an entity version as party of before-transaction-completion processing.
-
-
Constructor Summary
Constructors Constructor Description EntityIncrementVersionProcess(Object object)
Constructs an EntityIncrementVersionProcess for the given entity.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doBeforeTransactionCompletion(SessionImplementor session)
Perform whatever processing is encapsulated here before completion of the transaction.
-
-
-
Constructor Detail
-
EntityIncrementVersionProcess
public EntityIncrementVersionProcess(Object object)
Constructs an EntityIncrementVersionProcess for the given entity.- Parameters:
object
- The entity instance
-
-
Method Detail
-
doBeforeTransactionCompletion
public void doBeforeTransactionCompletion(SessionImplementor session)
Perform whatever processing is encapsulated here before completion of the transaction.- Specified by:
doBeforeTransactionCompletion
in interfaceBeforeTransactionCompletionProcess
- Parameters:
session
- The session on which the transaction is preparing to complete.
-
-