#286 - Use correct parent interface PersonRepository example.

disambiguate the readme with the current way to implement the reactive repository
This commit is contained in:
Jack Peterson
2020-01-24 08:00:08 -08:00
committed by Mark Paluch
parent 8f1fe60d71
commit d9c861e70d

View File

@@ -28,7 +28,7 @@ Here is a quick teaser of an application using Spring Data Repositories in Java:
[source,java]
----
public interface PersonRepository extends CrudRepository<Person, Long> {
public interface PersonRepository extends ReactiveCrudRepository<Person, Long> {
@Query("SELECT * FROM person WHERE lastname = :lastname")
Flux<Person> findByLastname(String lastname);