Class AbstractJdbcQuery.ConvertingRowMapper<T>
java.lang.Object
org.springframework.data.jdbc.repository.query.AbstractJdbcQuery.ConvertingRowMapper<T>
- Type Parameters:
T
-
- All Implemented Interfaces:
org.springframework.jdbc.core.RowMapper<Object>
- Enclosing class:
- AbstractJdbcQuery
protected static class AbstractJdbcQuery.ConvertingRowMapper<T>
extends Object
implements org.springframework.jdbc.core.RowMapper<Object>
Delegating
RowMapper
that reads a row into T
and converts it afterwards into Object
.- Since:
- 2.3
-
Constructor Summary
ConstructorDescriptionConvertingRowMapper
(org.springframework.jdbc.core.RowMapper<T> delegate, org.springframework.core.convert.converter.Converter<Object, Object> converter) -
Method Summary
-
Constructor Details
-
ConvertingRowMapper
-
-
Method Details
-
mapRow
- Specified by:
mapRow
in interfaceorg.springframework.jdbc.core.RowMapper<T>
- Throws:
SQLException
-