Skip to content

Commit 2ce55db

Browse files
yybmionmp911de
authored andcommitted
Fix typos in query method reference documentation.
Signed-off-by: Yoobin Yoon <[email protected]> Closes #3822
1 parent 4b34ac0 commit 2ce55db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/main/antora/modules/ROOT/pages/jpa/query-methods.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ A similar approach also works with named native queries, by adding the `.count`
313313
Next to obtaining mapped results, native queries allow you to read the raw `Tuple` from the database by choosing a `Map` container as the method's return type.
314314
The resulting map contains key/value pairs representing the actual database column name and the value.
315315

316-
.Native query retuning raw column name/value pairs
316+
.Native query returning raw column name/value pairs
317317
====
318318
[source, java]
319319
----
@@ -620,7 +620,7 @@ public interface ConcreteRepository
620620

621621
In the preceding example, the `MappedTypeRepository` interface is the common parent interface for a few domain types extending `AbstractMappedType`.
622622
It also defines the generic `findAllByAttribute(…)` method, which can be used on instances of the specialized repository interfaces.
623-
If you now invoke `findByAllAttribute(…)` on `ConcreteRepository`, the query becomes `select t from ConcreteType t where t.attribute = ?1`.
623+
If you now invoke `findAllByAttribute(…)` on `ConcreteRepository`, the query becomes `select t from ConcreteType t where t.attribute = ?1`.
624624

625625
You can also use Expressions to control arguments may also be used to control method arguments.
626626
In these expressions the entity name is not available, but the arguments are.

0 commit comments

Comments
 (0)