R - The return type@FunctionalInterface
public interface ConnectionCallback<R>
| Modifier and Type | Method and Description |
|---|---|
R |
call(java.sql.Connection connection)
Subclasses should implement this method to allow generic exception handling.
|
@NonNull R call(@NonNull java.sql.Connection connection) throws java.sql.SQLException
connection - The connectionjava.sql.SQLException - If an error occurs