@FunctionalInterface public interface ConnectionCallable<T>
|Modifier and Type||Method and Description|
T run(Connection connection) throws Exception
Implementations may freely use the argument
Connection to run
statements against the database. Implementations MUST manage the
lifecycle of any resources created from this
ResultSet. Implementations MUST NOT
manage the lifecycle of the
Connection, which is managed by the
ConnectionProvider that provided the
connection- The connection.
Exception- Any exception, including
SQLException, that will be propagated as an unchecked
Copyright © 2016. All Rights Reserved.