Interface SqlExecutor<T>
- Type Parameters:
T
- The type of the result
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The executor to apply the
PreparedStatement
-
Method Summary
Modifier and TypeMethodDescriptionapply
(PreparedStatement preparedStatement) Apply the prepared statement to get the result
-
Method Details
-
apply
Apply the prepared statement to get the result- Parameters:
preparedStatement
- The prepared statement- Returns:
- The result
- Throws:
SQLException
- If an SQL error occurs
-