Class EntityRowMapper<T>
java.lang.Object
org.springframework.data.jdbc.core.convert.EntityRowMapper<T>
- All Implemented Interfaces:
RowMapper<T>
Maps a
ResultSet
to an entity of type T
, including entities referenced. This RowMapper
might
trigger additional SQL statements in order to load other members of the same aggregate.- Since:
- 1.1
- Author:
- Jens Schauder, Oliver Gierke, Mark Paluch, Maciej Walkowiak, Bastian Wilhelm
-
Constructor Summary
ConstructorDescriptionEntityRowMapper
(AggregatePath path, JdbcConverter converter, Identifier identifier) EntityRowMapper
(PersistentPropertyPathExtension path, JdbcConverter converter, Identifier identifier) Deprecated, for removal: This API element is subject to removal in a future version.EntityRowMapper
(RelationalPersistentEntity<T> entity, JdbcConverter converter) -
Method Summary
-
Constructor Details
-
EntityRowMapper
@Deprecated(since="3.2", forRemoval=true) public EntityRowMapper(PersistentPropertyPathExtension path, JdbcConverter converter, Identifier identifier) Deprecated, for removal: This API element is subject to removal in a future version. -
EntityRowMapper
-
EntityRowMapper
-
-
Method Details
-
mapRow
- Specified by:
mapRow
in interfaceRowMapper<T>
- Throws:
SQLException
-
EntityRowMapper(AggregatePath, JdbcConverter, Identifier)
instead