Browse Source

#286 - Use correct parent interface PersonRepository example.

disambiguate the readme with the current way to implement the reactive repository
pull/1188/head
Jack Peterson 6 years ago committed by Mark Paluch
parent
commit
d9c861e70d
  1. 2
      README.adoc

2
README.adoc

@ -28,7 +28,7 @@ Here is a quick teaser of an application using Spring Data Repositories in Java: @@ -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);

Loading…
Cancel
Save