- 
- 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 ConnectionRunnable An operation that can run code and statements against a provided JDBCConnection.- Author:
- Lukas Eder
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidrun(Connection connection)Run statements.
 
- 
- 
- 
Method Detail- 
runvoid run(Connection connection) throws Exception Run statements.Implementations may freely use the argument Connectionto run statements against the database. Implementations MUST manage the lifecycle of any resources created from thisconnection, such asStatementorResultSet. Implementations MUST NOT manage the lifecycle of theConnection, which is managed by theConnectionProviderthat provided theconnectionto thisConnectionRunnable.- Parameters:
- connection- The connection.
- Throws:
- Exception- Any exception, including- SQLException, that will be propagated as an unchecked- DataAccessException.
 
 
- 
 
-