R- Operation result type
@FunctionalInterface public interface ConnectionOperation<R>
|Modifier and Type||Method and Description|
Execute an operation using a managed JDBC
R execute(Connection connection) throws Exception
Connectionand returns a result.
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 Connection
Exception- If an error occurred
Copyright © 2019 The Holon Platform. All rights reserved.