#286 - Use correct parent interface PersonRepository example.
disambiguate the readme with the current way to implement the reactive repository
This commit is contained in:
committed by
Mark Paluch
parent
8f1fe60d71
commit
d9c861e70d
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user