Uses of Interface
ratpack.jdbctx.Transaction
-
Packages that use Transaction Package Description ratpack.jdbctx -
-
Uses of Transaction in ratpack.jdbctx
Methods in ratpack.jdbctx that return Transaction Modifier and Type Method Description Transaction
Transaction. autoBind(boolean autoBind)
Sets the auto binding behaviour of the transaction.default Transaction
Transaction. bind()
Binds this transaction to the current execution.static Transaction
Transaction. bound(Factory<? extends Connection> connectionFactory)
Creates a transaction implementation that delegates to the execution bound transaction.static Transaction
Transaction. create(Factory<? extends Connection> connectionFactory)
Creates a new transaction.static Transaction
Transaction. get(Factory<? extends Connection> connectionFactory)
Returns the current transaction if present, otherwise a newly created transaction.static Transaction
Transaction. join()
Returns the current transaction if present.Methods in ratpack.jdbctx that return types with arguments of type Transaction Modifier and Type Method Description static Optional<Transaction>
Transaction. current()
The current execution bound transaction, if any.
-