From e92be469b0e7cc2f4b1db832afa53ed0536643ea Mon Sep 17 00:00:00 2001 From: Jens Schauder Date: Tue, 21 Oct 2025 10:58:48 +0200 Subject: [PATCH] Polishing. Undo removal of "withers". Original pull request #2148 --- src/main/antora/modules/ROOT/pages/jdbc/query-methods.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/antora/modules/ROOT/pages/jdbc/query-methods.adoc b/src/main/antora/modules/ROOT/pages/jdbc/query-methods.adoc index d85af8a1d..62db71694 100644 --- a/src/main/antora/modules/ROOT/pages/jdbc/query-methods.adoc +++ b/src/main/antora/modules/ROOT/pages/jdbc/query-methods.adoc @@ -164,7 +164,7 @@ interface UserRepository extends CrudRepository { For converting the query result into entities the same `RowMapper` is used by default as for the queries Spring Data JDBC generates itself. The query you provide must match the format the `RowMapper` expects. Columns for all properties that are used in the constructor of an entity must be provided. -Columns for properties that get set via setter or field access are optional. +Columns for properties that get set via setter, wither or field access are optional. Properties that don't have a matching column in the result will not be set. The query is used for populating the aggregate root, embedded entities and one-to-one relationships including arrays of primitive types which get stored and loaded as SQL-array-types. Separate queries are generated for maps, lists, sets and arrays of entities.