Skip to content

Commit 370fbb5

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ A similar approach also works with named native queries, by adding the `.count`
324324
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.
325325
The resulting map contains key/value pairs representing the actual database column name and the value.
326326

327-
.Native query retuning raw column name/value pairs
327+
.Native query returning raw column name/value pairs
328328
====
329329
[source, java]
330330
----
@@ -506,7 +506,7 @@ public interface ConcreteRepository
506506

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

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

0 commit comments

Comments
 (0)