Uses of Class
org.h2.mvstore.tx.Transaction
Packages that use Transaction
Package
Description
Contains high level classes of the database and classes that don't fit in another sub-package.
Helper classes to use the MVStore in a transactional manner.
-
Uses of Transaction in org.h2.engine
Methods in org.h2.engine that return TransactionModifier and TypeMethodDescriptionSessionLocal.getTransaction()Get the transaction to use for this session. -
Uses of Transaction in org.h2.mvstore.tx
Methods in org.h2.mvstore.tx that return TransactionModifier and TypeMethodDescriptionTransactionStore.begin()Begin a new transaction.TransactionStore.begin(TransactionStore.RollbackListener listener, int timeoutMillis, int ownerId, IsolationLevel isolationLevel) Begin a new transaction.TransactionMap.getTransaction()Methods in org.h2.mvstore.tx that return types with arguments of type TransactionModifier and TypeMethodDescriptionTransactionStore.getOpenTransactions()Get the list of unclosed transactions that have pending writes.Methods in org.h2.mvstore.tx with parameters of type TransactionModifier and TypeMethodDescriptionTransactionMap.getInstance(Transaction transaction) Get a clone of this map for the given transaction.booleanTransaction.waitFor(Transaction toWaitFor, String mapName, Object key) Make this transaction to wait for the specified transaction to be closed, because both of them try to modify the same map entry.