Skip to content

Commit

Permalink
Polishing.
Browse files Browse the repository at this point in the history
Reformat documentation.

See #3546
  • Loading branch information
mp911de committed Jul 24, 2024
1 parent 28f44d6 commit ff07a00
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/antora/modules/ROOT/pages/jpa/query-methods.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,6 @@ public interface UserRepository extends JpaRepository<User, Long> {
Page<User> findByLastname(String lastname, Pageable pageable);
}
----
====

A similar approach also works with named native queries, by adding the `.count` suffix to a copy of your query. You probably need to register a result set mapping for your count query, though.
Expand Down

0 comments on commit ff07a00

Please # to comment.