MyeongHyeonLee opened DATAJDBC-428 and commented
EntityRowMapper throws exception for Immutable entity contains AggregateReference.
@RequiredArgsConstructor
class Immutable{
private final @Id Long id;
private final String name;
private final AggregateReference<Trivial, Long> trivialId;
}
Immutable entity = entityRowMapper.mapRow(rs, 1);
// throws exception
// org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type [org.springframework.data.jdbc.core.mapping.AggregateReference$IdOnlyAggregateReference<?, ?>] to type [java.lang.Long]
Affects: 1.1 GA (Moore)
Referenced from: pull request #172, and commits b602225, 448f0e0, cef4152, 1a3d2b0
Backported to: 1.1.1 (Moore SR1)