@FunctionalInterface public interface NamedQueryFilter
"FROM IDP WHERE NAME=?";
this.jdbcNamedTemplate.fetchSingleRecord(GET_ALL_IDP_SQL, (resultSet, rowNumber) -> {
...
return ..;
},(namedPreparedStatement) -> {
namedPreparedStatement.setString("name", var1);
});
| Modifier and Type | Method and Description |
|---|---|
void |
filter(NamedPreparedStatement namedPreparedStatement)
Performs the variable binding.
|
void filter(NamedPreparedStatement namedPreparedStatement) throws SQLException
namedPreparedStatement - SQLExceptionCopyright © 2020 WSO2. All rights reserved.