public class ObjectMapper<T> extends Object
| Constructor and Description |
|---|
ObjectMapper() |
| Modifier and Type | Method and Description |
|---|---|
Collection<T> |
getCollection(ResultSet resultSet,
RowMapper<T> rowMapper)
Retrieves a Collection from the argument ResultSet using the argument RowMapper.
|
T |
getObject(ResultSet resultSet,
RowMapper<T> rowMapper)
Retrieves an Object from the argument ResultSet using the argument RowMapper.
|
public T getObject(ResultSet resultSet, RowMapper<T> rowMapper)
resultSet - the ResultSet.rowMapper - the RowMapper.public Collection<T> getCollection(ResultSet resultSet, RowMapper<T> rowMapper)
resultSet - the ResultSet.rowMapper - the RowMapper.Copyright © 2016 UiO. All rights reserved.