spring-projects/spring-data-mongodb
Provides support to increase developer productivity in Java when using MongoDB. Uses familiar Spring concepts such as a template classes for core API usage and lightweight repository style data access. observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 98
- Release rhythm 98
- Longevity 100
Flags: no_readme
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0.0
- age_days: 5439
- days_rel: 12
- days_push: 12
- n_releases_24m: 51
Adoption not part of the score
1684 stars · 1137 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Spring Data MongoDB is part of the Spring Data umbrella, providing integration between Java applications and the MongoDB document database. It offers MongoTemplate, an annotation-driven object mapper, repository interfaces, transaction support, client-side field level encryption, and GridFS large file storage within a consistent Spring programming model.
Use cases
- map Java objects to MongoDB documents with an annotation-driven object mapper
- use repository interfaces for MongoDB data access with custom queries and aggregations
- run multi-document transactions against MongoDB from a Spring application
- store and retrieve large files in MongoDB using GridFS
- encrypt sensitive fields client-side before storing them in MongoDB
- write type-safe MongoDB queries with Querydsl
- use MongoDB from Kotlin with Spring extensions
When to choose
- you are building a Spring or Spring Boot application backed by MongoDB
- you want repository-style data access and familiar Spring idioms for a document database
- you need MongoDB features like transactions, GridFS, or field-level encryption in Java
When to avoid
- you use a relational database or a non-MongoDB datastore (choose the matching Spring Data module)
- you are not using the Spring ecosystem and prefer the raw MongoDB Java driver
- you need a lightweight app without framework dependencies
Facets
framework · maturity active
orm database-driver database databases backend developer-tools jvm cross-platform mongodb spring-data object-mapping repositories gridfs transactions kotlin
5 sources
- homepage: https://spring.io/projects/spring-data-mongodb/ · fetched 2026-08-29 · 46967b513be8
- site_page: https://spring.io/quickstart · fetched 2026-08-29 · fc64dd950363
- site_page: https://spring.io/projects/spring-restdocs · fetched 2026-08-29 · 1e2a101b77d3
- site_page: https://enterprise.spring.io · fetched 2026-08-29 · 85ac7d6d5114
- site_page: https://enterprise.spring.io/lts-releases · fetched 2026-08-29 · 3251cc8760b6
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| spring-projects/spring-data-mongodb | main | 98 |
For agents
markdown · JSON · MCP: product_card(name="spring-projects/spring-data-mongodb")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem