Skip to content

Clearly document that DataClassRowMapper supports Java records #29814

@sbrannen

Description

@sbrannen

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.

Metadata

Metadata

Assignees

Labels

in: dataIssues in data modules (jdbc, orm, oxm, tx)status: backportedAn issue that has been backported to maintenance branchestype: documentationA documentation task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions