Skip to content

NullPointerException in @Query that do not project __cas . Should check for this explicitly #1097

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mikereiche opened this issue Mar 15, 2021 · 0 comments · Fixed by #1114
Closed
Labels
type: bug A general bug

Comments

@mikereiche
Copy link
Collaborator

https://forums.couchbase.com/t/unable-to-use-n1ql-query-in-query-annotation-with-max-function-in-spring-data-couchbase-4-1-5/29776

Maybe even allow it. See could for ReactiveFindByQueryCount.all() - handling when there are distinctFields.

@mikereiche mikereiche added the type: bug A general bug label Mar 15, 2021
mikereiche added a commit that referenced this issue Mar 29, 2021
mikereiche added a commit that referenced this issue Mar 30, 2021
com.couchbase.client.core.error.CouchbaseException: query did not project __id.
 Either use #{#n1ql.selectEntity} or project __id and __cas :
 SELECT __cas, * from `b406ab45-ef95-441f-a318-76b8e8af2d76` where iata = $1

Closes #1097.
Original pull request: #1114.
mikereiche added a commit that referenced this issue Mar 30, 2021
com.couchbase.client.core.error.CouchbaseException: query did not project __id.
 Either use #{#n1ql.selectEntity} or project __id and __cas :
 SELECT __cas, * from `b406ab45-ef95-441f-a318-76b8e8af2d76` where iata = $1

Closes #1097.
Original pull request: #1114.
mikereiche added a commit that referenced this issue Apr 6, 2021
com.couchbase.client.core.error.CouchbaseException: query did not project __id.
 Either use #{#n1ql.selectEntity} or project __id and __cas :
 SELECT __cas, * from `b406ab45-ef95-441f-a318-76b8e8af2d76` where iata = $1

Closes #1097.
Original pull request: #1114.

Co-authored-by: mikereiche <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
1 participant