Polishing.

Reformat documentation.

See #3546
This commit is contained in:
Mark Paluch
2024-07-24 09:00:11 +02:00
parent 28f44d6946
commit ff07a00537

View File

@@ -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.