Home / Companies / Couchbase / Blog / Post Details
Content Deep Dive

Spring Data Couchbase 2 is out! Quick getting started with Spring Initializr

Blog post from Couchbase

Post Details
Company
Date Published
Author
Laurent Doguin, Developer Advocate, Couchbase
Word Count
769
Company Posts That Month
27
Language
English
Hacker News Points
-
Post removed?
No
Summary

Spring Data Couchbase 2 has been released and is now accessible through Spring Initializr, allowing developers to quickly set up a Spring/Couchbase project by selecting dependencies and generating a project archive. The tool is compatible with Spring Boot 1.4.0-SNAPSHOT and includes an auto-configuration feature that supports properties for Couchbase access, such as bucket name and password, and offers various consistency levels like read-your-own-writes and strongly-consistent. Developers can define these properties in the application.properties file or through a @Configuration Bean. The auto-configuration also provides automatic index creation, although it's recommended to disable this in production. Key annotations for index creation include @N1qlPrimaryIndexed and @ViewIndexed, while the framework offers various Beans like CouchbaseTemplate for low-level API access and ValidatingCouchbaseEventListener for entity validation. For more comprehensive details, users are encouraged to consult the official documentation or follow ongoing blog updates.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.