Interface Connection.TransactionCallable<T> (6.85.0)

public static interface Connection.TransactionCallable<T>

Functional interface for the #runTransaction(TransactionCallable) method.

Type Parameter

Name Description
T

Methods

run(Connection transaction)

public abstract T run(Connection transaction)

This method is invoked with a fresh transaction on the connection.

Parameter
Name Description
transaction Connection
Returns
Type Description
T