From d9c861e70db0b0a401236c110bfbf0ef1ca2a97b Mon Sep 17 00:00:00 2001 From: Jack Peterson Date: Fri, 24 Jan 2020 08:00:08 -0800 Subject: [PATCH] #286 - Use correct parent interface PersonRepository example. disambiguate the readme with the current way to implement the reactive repository --- README.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.adoc b/README.adoc index b1f32fe15..e91e0bc1e 100644 --- a/README.adoc +++ b/README.adoc @@ -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 { +public interface PersonRepository extends ReactiveCrudRepository { @Query("SELECT * FROM person WHERE lastname = :lastname") Flux findByLastname(String lastname);