Skip to content
Advertisement

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,

Spring junit tests with couchbase

I have some Services that should get documents from couchbase. Services: Also I have DocRepository interface with necessary methods and views on couchbase server. When I run my app and call Services its work fine, but I need tests for this Services. Tests: Running tests successful only in 90%. And another moment, I use maven, and when it runs tests

Advertisement