Skip to content

Tag: spring-data-couchbase

Simple Spring Data Couchbase Find Query Not Working

I’m new to Couchbase and Spring Data Couchbase and am having issues getting a simple find query to work. I am running the community edition of couchbase (version 6.6.0), have the latest version of Spring Data Couchbase, and have created a small spring boot app to query from a new bucket I created. I am able to connect to the

Spring Data Couchbase @CreatedDate not working

I’m using Spring boot with spring data couchbase. I’ve added two fields for createdDate and lastModifiedDate with @CreatedDate and @LastModifiedDate annotations in Movie Document. lastModifiedDate works great but createdDate is always null. I’ve also added a configuration for @EnableCouchbaseAuditing: Movie Repository: application.yml for reference: Answer As stated in the documentation, in order to distinguish between a creation and an update,