setRowMapper, setRowMapperClass
| Modifier and Type | Field and Description |
|---|---|
| private RowMapper | |
| private Class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | afterPropertiesSet()
Overrides org. Implements org. |
| protected RowMapper | newRowMapper(Object[]
the parameters to the parameters, Map<?, ?> execute() method,
in case subclass is interested; may be null if there
were no parameters.the contextual information passed to the context)mapRow
callback method. The JDBC operation itself doesn't rely on this parameter,
but it can be useful for creating the objects of the result list.Implements abstract org. execute method as an aggregated List.
|
| public void | |
| public void | setRowMapperClass(Class<? extends RowMapper<T>> rowMapperClass)
Set a |
| rowMapper | back to summary |
|---|---|
| private RowMapper<T> rowMapper
| |
| rowMapperClass | back to summary |
|---|---|
private Class<? extends RowMapper<T>> rowMapperClass
| |
| GenericSqlQuery | back to summary |
|---|---|
| public GenericSqlQuery() | |
| afterPropertiesSet | back to summary |
|---|---|
| public void afterPropertiesSet() Overrides org. Implements org. Doc from org. Ensures compilation if used in a bean factory.
| |
| newRowMapper | back to summary |
|---|---|
| protected RowMapper Implements abstract org. Doc from org. Subclasses must implement this method to extract an object per row, to be
returned by the
| |
| setRowMapper | back to summary |
|---|---|
| public void setRowMapper(RowMapper<T> rowMapper) Set a specific
| |
| setRowMapperClass | back to summary |
|---|---|
| public void setRowMapperClass(Class<? extends RowMapper<T>> rowMapperClass) Set a
| |