Interface StatementMapper<T>
- Type Parameters:
T- the type of object to map from the statement
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Maps a JDBC CallableStatement to a Java object of type T.
-
Method Summary
Modifier and TypeMethodDescriptionget(CallableStatement statement) Extracts a value from the given CallableStatement.
-
Method Details
-
get
Extracts a value from the given CallableStatement.- Parameters:
statement- the CallableStatement to extract from- Returns:
- mapped result object
- Throws:
SQLException- if an error occurs while extracting
-