@FunctionalInterface public interface ConnectionRunnable
Connection.
Differently from ConnectionOperation, the operation execution does not return any result.
ConnectionOperation| Modifier and Type | Method and Description |
|---|---|
void |
execute(Connection connection)
Execute an operation using a managed JDBC
Connection. |
void execute(Connection connection) throws Exception
Connection.
The Connection lifecycle should be managed by the connection provider, so the connection should not be
closed from whithin the connection operation method.
connection - The JDBC ConnectionException - If an error occurredCopyright © 2019 The Holon Platform. All rights reserved.