Interface QueryFilter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
SQL variable binding.
e.g.
"FROM IDP WHERE NAME=?";
this.jdbcTemplate.fetchSingleRecord(GET_ALL_IDP_SQL, (resultSet, rowNumber) -> {
...
return ..;
},(preparedStatement) -> {
preparedStatement.setString(1, var1);
});
-
Method Summary
Modifier and TypeMethodDescriptionvoidfilter(PreparedStatement preparedStatement) Performs the variable binding.
-
Method Details
-
filter
Performs the variable binding.- Parameters:
preparedStatement-- Throws:
SQLException
-