R
- The return typepublic interface PreparedStatementCallback<R>
Modifier and Type | Method and Description |
---|---|
R |
call(java.sql.PreparedStatement statement)
Subclasses should implement this method to allow generic exception handling.
|
@NonNull R call(@NonNull java.sql.PreparedStatement statement) throws java.sql.SQLException
statement
- The statementjava.sql.SQLException
- If an error occurs