Interface PreparedStatementCustomizer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Customizes a
PreparedStatement before execution.
- Since:
- 4.0.0
- Author:
- Mark Allen
-
Method Summary
Modifier and TypeMethodDescriptionvoidcustomize(@NonNull StatementContext<?> statementContext, @NonNull PreparedStatement preparedStatement) Applies customization to the prepared statement before execution.
-
Method Details
-
customize
void customize(@NonNull StatementContext<?> statementContext, @NonNull PreparedStatement preparedStatement) throws SQLException Applies customization to the prepared statement before execution.- Parameters:
statementContext- current SQL contextpreparedStatement- the prepared statement to customize- Throws:
SQLException- if customization fails
-