Package io.micronaut.data.jdbc.runtime
Interface ConnectionCallback<R>
- Type Parameters:
 R- The return type
- Functional Interface:
 - This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
 
SQL callback interface that helps with handling SQLException.
- Since:
 - 1.0.0
 - Author:
 - graemerocher
 
- 
Method Summary
Modifier and TypeMethodDescriptioncall(@NonNull Connection connection) Subclasses should implement this method to allow generic exception handling. 
- 
Method Details
- 
call
Subclasses should implement this method to allow generic exception handling.- Parameters:
 connection- The connection- Returns:
 - The result
 - Throws:
 SQLException- If an error occurs
 
 -