Skip to content

Commit 0de5ddd

Browse files
committed
DATAJPA-1792 - Fixes typo.
1 parent a99a087 commit 0de5ddd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/asciidoc/jpa.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ A similar approach also works with named native queries, by adding the `.count`
381381
[[jpa.query-methods.sorting]]
382382
=== Using Sort
383383

384-
Sorting can be done be either providing a `PageRequest` or by using `Sort` directly. The properties actually used within the `Order` instances of `Sort` need to match your domain model, which means they need to resolve to either a property or an alias used within the query. The JPQL defines this as a state field path expression.
384+
Sorting can be done by either providing a `PageRequest` or by using `Sort` directly. The properties actually used within the `Order` instances of `Sort` need to match your domain model, which means they need to resolve to either a property or an alias used within the query. The JPQL defines this as a state field path expression.
385385

386386
NOTE: Using any non-referenceable path expression leads to an `Exception`.
387387

0 commit comments

Comments
 (0)