Uses of Class
io.github.blyznytsiaorg.bibernate.transaction.Transaction
Package
Description
-
Uses of Transaction in io.github.blyznytsiaorg.bibernate.dao
-
Uses of Transaction in io.github.blyznytsiaorg.bibernate.transaction
Modifier and TypeFieldDescriptionprivate static final ThreadLocal
<Transaction> TransactionHolder.transactionHolder
AThreadLocal
variable for storing transactions associated with a specific thread.Modifier and TypeMethodDescriptionstatic Transaction
TransactionHolder.getTransaction()
Retrieves the transaction associated with the current thread, if any.Modifier and TypeMethodDescriptionstatic void
TransactionHolder.setTransaction
(Transaction transaction) Sets the transaction for the current thread, allowing transactions to be associated with the execution context of a thread.