Uses of Interface
com.blackrook.sql.util.SQLTransactionConsumer
-
Uses of SQLTransactionConsumer in com.blackrook.sql
Modifier and TypeMethodDescriptionstatic void
SQL.getTransactionAnd
(Connection connection, SQLConnection.TransactionLevel transactionLevel, SQLTransactionConsumer handler) Starts a transaction with a provided level, performs actions on it, then auto-closes it.void
SQLConnection.startTransactionAnd
(SQLConnection.TransactionLevel transactionLevel, SQLTransactionConsumer handler) Starts a transaction with a provided level, performs actions on it, then auto-closes it.