Skip to content

QueryMethod.isCollectionQuery() returns false for Flux<T> findByXXX(..., pageRequest) [DATACOUCH-673] #981

Closed
@spring-projects-issues

Description

@spring-projects-issues

Michael Reiche opened DATACOUCH-673 and commented

This is mostly a note to myself -

QueryMethod.isCollectionQuery() returns false for Flux<T> findByXXX(..., pageRequest)

airportRepository.findAllByIataLikeOrderByIata("S%", pageRequest)

To resolve this, not only does CouchbaseQueryMethod (or ReactiveCouchbaseQueryMethod) need to override isCollectionQuery() :

@Override
public boolean isCollectionQuery() {
return (Boolean) this.isCollectionQueryCouchbase.get();
}

But the lazy field from QueryMethod 'isCollectionQuery' should be substituted from a lazy field from [Reactive]CouchbaseQueryMethod


No further details from DATACOUCH-673

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions