Browse Source

Polishing.

Undo removal of "withers".

Original pull request #2148
3.4.x
Jens Schauder 2 months ago
parent
commit
e92be469b0
No known key found for this signature in database
GPG Key ID: 2BE5D185CD2A1CE6
  1. 2
      src/main/antora/modules/ROOT/pages/jdbc/query-methods.adoc

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

@ -164,7 +164,7 @@ interface UserRepository extends CrudRepository<User, Long> { @@ -164,7 +164,7 @@ interface UserRepository extends CrudRepository<User, Long> {
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.

Loading…
Cancel
Save