Spring Data Couchbase| Prepared Statements does not support Date operations in new upgraded SDK

Please open an issue Sign in to GitHub · GitHub

The more complete information you provide, the less time I’ll spend reproducing and the more time I’ll have to troubleshoot. (i.e. provide the whole repository class, the whole Schedule class and the code that is calling this). And the stack trace of the exceptoin.
The spring-data query won’t work if the Java SDK query doesn’t work as spring-data-couchbase calls the java sdk.
Also - it’s not possible to know if the query should select documents without knowing what the documents are.

" (same Query was working fine with defined Writer and Reader convertors in Couchbase Config)

So why not use those converters?

alias_2.LocalDate(date1) <= “2021-12-31” (which is $end)

I don’t understand. $end would be $end. “2021-12-13” is “2021-12-31”.

The query as provided does not compile (even after replacing the hard-coded values with their parameters).
There needs to be a space before the closing quotes on lines 2 and 3.
alias_2.LocalDate(date1) does not parse. I’m not sure what the intention is.