| Constructor and Description |
|---|
SingleColumnRowMapper(Class<T> clazz) |
| Modifier and Type | Method and Description |
|---|---|
T |
mapRow(ResultSet resultSet) |
T |
nullObject()
if nulls are unwanted, a null object can be returned here
|
void |
validate(ResultSet resultSet)
validate result after query (for instance number of columns, etc
|
public void validate(ResultSet resultSet) throws RowMapperValidationException, SQLException
RowMappervalidate in interface RowMapper<T>RowMapperValidationExceptionSQLExceptionpublic T mapRow(ResultSet resultSet) throws RowMapperMappingException, SQLException
mapRow in interface RowMapper<T>RowMapperMappingExceptionSQLExceptionpublic T nullObject()
RowMappernullObject in interface RowMapper<T>Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.