Uses of Enum
com.blackrook.sql.SQLConnection.TransactionLevel
Packages that use SQLConnection.TransactionLevel
-
Uses of SQLConnection.TransactionLevel in com.blackrook.sql
Subclasses with type arguments of type SQLConnection.TransactionLevel in com.blackrook.sqlModifier and TypeClassDescriptionstatic enumEnumeration of transaction levels.Methods in com.blackrook.sql that return SQLConnection.TransactionLevelModifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static SQLConnection.TransactionLevel[]SQLConnection.TransactionLevel.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.blackrook.sql with parameters of type SQLConnection.TransactionLevelModifier and TypeMethodDescriptionstatic SQLConnection.TransactionSQL.getTransaction(Connection connection, SQLConnection.TransactionLevel transactionLevel) Starts a transaction with a provided level.static voidSQL.getTransactionAnd(Connection connection, SQLConnection.TransactionLevel transactionLevel, SQLTransactionConsumer handler) Starts a transaction with a provided level, performs actions on it, then auto-closes it.static <R> RSQL.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.SQLConnection.startTransaction(SQLConnection.TransactionLevel transactionLevel) Starts a transaction with a provided level.voidSQLConnection.startTransactionAnd(SQLConnection.TransactionLevel transactionLevel, SQLTransactionConsumer handler) Starts a transaction with a provided level, performs actions on it, then auto-closes it.<R> RSQLConnection.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> RSQLAbstractDAO.transaction(SQLConnection.TransactionLevel level, SQLTransactionFunction<R> handler) Gets a connection and performs a function on it, returning the result.