Interface ConnectionCallback<T>

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ConnectionCallback<T>
A unit of work executed against an open, in-transaction Connection. The connection's lifecycle (commit/rollback/close) is managed by TransactionTemplate; the callback only issues statements.
  • Method Summary

    Modifier and Type
    Method
    Description
    Do work on the connection and return a result.