R - Operation result type@FunctionalInterface public interface ConnectionOperation<R>
Connection.| Modifier and Type | Method and Description |
|---|---|
R |
execute(Connection connection)
Execute an operation using a managed JDBC
Connection and returns a result. |
R execute(Connection connection) throws Exception
Connection and returns a result.
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.