Skip to content

Commit 70ba06a

Browse files
committed
Polishing.
Undo removal of "withers". Original pull request #2148
1 parent e33657a commit 70ba06a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/antora/modules/ROOT/pages/jdbc/query-methods.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ interface UserRepository extends CrudRepository<User, Long> {
164164
For converting the query result into entities the same `RowMapper` is used by default as for the queries Spring Data JDBC generates itself.
165165
The query you provide must match the format the `RowMapper` expects.
166166
Columns for all properties that are used in the constructor of an entity must be provided.
167-
Columns for properties that get set via setter or field access are optional.
167+
Columns for properties that get set via setter, wither or field access are optional.
168168
Properties that don't have a matching column in the result will not be set.
169169
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.
170170
Separate queries are generated for maps, lists, sets and arrays of entities.

0 commit comments

Comments
 (0)