Interface NamedQueryFilter
- 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.jdbcNamedTemplate.fetchSingleRecord(GET_ALL_IDP_SQL, (resultSet, rowNumber) -> {
...
return ..;
},(namedPreparedStatement) -> {
namedPreparedStatement.setString("name", var1);
});
-
Method Summary
Modifier and TypeMethodDescriptionvoidfilter(NamedPreparedStatement namedPreparedStatement) Performs the variable binding.
-
Method Details
-
filter
Performs the variable binding.- Parameters:
namedPreparedStatement-- Throws:
SQLException
-