DATACMNS-1580 - Fix PersonRepository domain class in documentation.
Just a small fix declaring Person as PersonRepository's domain class. Original pull request: #298.
This commit is contained in:
committed by
Mark Paluch
parent
5be758ec90
commit
7ac59dc7ff
@@ -465,7 +465,7 @@ The query builder mechanism built into Spring Data repository infrastructure is
|
||||
====
|
||||
[source, java]
|
||||
----
|
||||
interface PersonRepository extends Repository<User, Long> {
|
||||
interface PersonRepository extends Repository<Person, Long> {
|
||||
|
||||
List<Person> findByEmailAddressAndLastname(EmailAddress emailAddress, String lastname);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user