I was using Couchbase 4.5.1 CE with java client 2.2.8.
I upgraded to 6.0 CE without updating the java client. Now some time N1QL query getting failed. I have logged the query and tried executing the Couchbase console directly. It executed perfectly. Any idea about this? Upgrading java client requires lot of development effort, we cannot do it at this moment. Any other solution?
Thank you in advance for the help
Error:
30-Mar-2021 09:42:09.879 SEVERE [http-nio-8080-exec-4] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [dispatcher] in context with path threw exception [Request processing failed; nested exception is org.springframework.data.couchbase.core.CouchbaseQueryExecutionException: Unable to execute query due to the following n1ql errors: ] with root cause
org.springframework.data.couchbase.core.CouchbaseQueryExecutionException: Unable to execute query due to the following n1ql errors:
at org.springframework.data.couchbase.core.CouchbaseTemplate.findByN1QLProjection(CouchbaseTemplate.java:476)