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.
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 TypeMethodDescriptionrun(Connection c) Do work on the connection and return a result.
-
Method Details
-
run
Do work on the connection and return a result.- Throws:
SQLException
-