This version is still in development and is not considered stable yet. For the latest stable version, please use Spring Data Couchbase 5.4.0! |
Couchbase Support
Spring Data support for Couchbase contains a wide range of features:
-
Spring configuration support with Java-based
@Configuration
classes. -
The
CouchbaseTemplate
andReactiveCouchbaseTemplate
helper classes that provide object mapping between Couchbase collections and POJOs. -
Exception translation into Spring’s portable Data Access Exception Hierarchy.
-
Feature rich object mapping integrated with Spring’s Conversion Service.
-
Annotation-based mapping metadata that is extensible to support other metadata formats.
-
Automatic implementation of imperative and reactive
Repository
interfaces including support for custom query methods.
For most data-oriented tasks, you can use the [Reactive]CouchbaseTemplate
or the Repository
support, both of which use the rich object-mapping functionality.
Spring Data Couchbase uses consistent naming conventions on objects in various APIs to those found in the Couchbase Java SDK so that they are familiar and so that you can map your existing knowledge onto the Spring APIs.