Class ReactiveEntityIncrementVersionProcess
java.lang.Object
org.hibernate.reactive.engine.impl.ReactiveEntityIncrementVersionProcess
- All Implemented Interfaces:
ReactiveBeforeTransactionCompletionProcess
public class ReactiveEntityIncrementVersionProcess
extends Object
implements ReactiveBeforeTransactionCompletionProcess
A BeforeTransactionCompletionProcess impl to verify and increment an entity version as party
of before-transaction-completion processing
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an EntityIncrementVersionProcess for the given entity. -
Method Summary
Modifier and TypeMethodDescriptionPerform whatever processing is encapsulated here before completion of the transaction.
-
Constructor Details
-
ReactiveEntityIncrementVersionProcess
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:
doBeforeTransactionCompletionin interfaceReactiveBeforeTransactionCompletionProcess- Parameters:
session- The session on which the transaction is preparing to complete.
-