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
2467cd7d42
commit
74a26dd3fe
@@ -347,7 +347,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