T - the type of the domain object.@FunctionalInterface public interface RowMapper<T>
this.jdbcTemplate.executeQuery(SELECT_SQL, (resultSet, rowNumber) -> {
DomainObject domainObject = new DomainObject();
domainObject.setProperty(resultSet.getString("COLUMN_1"));
return domainObject;
}
| Modifier and Type | Method and Description |
|---|---|
T |
mapRow(ResultSet resultSet,
int rowNumber) |
T mapRow(ResultSet resultSet, int rowNumber) throws SQLException
SQLExceptionCopyright © 2020 WSO2. All rights reserved.