The current Javadoc for DataClassRowMapper
is a bit vague and does not spell out that it actually supports Java records.
We should improve the documentation to make that clear.
In addition, we should improve the documentation for BeanPropertyRowMapper
by explaining when DataClassRowMapper
would be a better choice (i.e., for records or Kotlin data classes) -- the current @see DataClassRowMapper
is not really sufficient for that.