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
A
BeforeTransactionCompletionProcess
implementation to verify and
increment an entity version as party of before-transaction-completion
processing.-
Constructor Summary
ConstructorsConstructorDescriptionEntityIncrementVersionProcess
(Object object) Constructs an EntityIncrementVersionProcess for the given entity. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Perform whatever processing is encapsulated here before completion of the transaction.
-
Constructor Details
-
EntityIncrementVersionProcess
Constructs an EntityIncrementVersionProcess for the given entity.- Parameters:
object
- The entity instance
-
-
Method Details
-
doBeforeTransactionCompletion
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.
-