Package io.micronaut.data.jdbc.runtime
Interface PreparedStatementCallback<R>
- Type Parameters:
- R- The return type
public interface PreparedStatementCallback<R>
SQL PreparedStatement callback interface that helps with dealing with SQLException.
- Since:
- 1.0.0
- Author:
- graemerocher
- 
Method SummaryModifier and TypeMethodDescriptioncall(@NonNull PreparedStatement statement) Subclasses should implement this method to allow generic exception handling.
- 
Method Details- 
callSubclasses should implement this method to allow generic exception handling.- Parameters:
- statement- The statement
- Returns:
- The result
- Throws:
- SQLException- If an error occurs
 
 
-