Uses of Interface
com.blackrook.sql.util.SQLTransactionFunction
Packages that use SQLTransactionFunction
-
Uses of SQLTransactionFunction in com.blackrook.sql
Methods in com.blackrook.sql with parameters of type SQLTransactionFunctionModifier and TypeMethodDescriptionstatic <R> R
SQL.getTransactionAnd
(Connection connection, SQLConnection.TransactionLevel transactionLevel, SQLTransactionFunction<R> handler) Starts a transaction with a provided level, performs actions on it, returns a value, then auto-closes it.<R> R
SQLConnection.startTransactionAnd
(SQLConnection.TransactionLevel transactionLevel, SQLTransactionFunction<R> handler) Starts a transaction with a provided level, performs actions on it, returns a value, then auto-closes it.protected <R> R
SQLAbstractDAO.transaction
(SQLConnection.TransactionLevel level, SQLTransactionFunction<R> handler) Gets a connection and performs a function on it, returning the result.