spring-data-mongodb icon indicating copy to clipboard operation
spring-data-mongodb copied to clipboard

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...

Results 316 spring-data-mongodb issues
Sort by recently updated
recently updated
newest added

Hi there, according to [Index and Collection Management document page](https://docs.spring.io/spring-data/mongodb/reference/mongodb/template-collection-management.html), timeseries collection should be created before inserting data to make sure they're created as a `type` = "timeseries". (instead of...

type: documentation

Explore if it makes sense to have a different extraction pattern for storing the relation than for the retrieval. Doing so would allow users to build dedicated views on the...

type: enhancement

Hi, spring-data-mongodb supports in Kotlin [typed queries](https://github.com/pmatysek/spring-data-mongodb/blob/main/src/main/antora/modules/ROOT/pages/kotlin/extensions.adoc#type-safe-queries-for-kotlin) and recently introduced with my help typed updates too (#3028). While this API is handy because there's no need to keep field names...

status: blocked
status: waiting-for-triage
in: kotlin

MongoDB 8.0 has support for `updateOne` with `Sort` -> https://www.mongodb.com/docs/upcoming/release-notes/8.0/#sort-support-for-updateone Relates to: #2616

type: enhancement

Mongo is required to be running for Spring Data Mongo DB tests to pass. It would be beneficial to fail the build when `skip tests` is NOT turned on. In...

type: task

Hi, This is a feedback on the `org.springframework.data.mongodb.core.MongoTemplate` cass logging. During some troubleshooting i noticed that in the mongoTemplate class, the `doStream` method is missing the debug logging of the...

status: ideal-for-contribution
type: enhancement

Since I'm going through the docs to better understand all concepts related to MongoDB and I'm quite a noob as far as the database is concerned I will describe any...

type: documentation

Hi there, we have an application that uses [`MongoTemplate.findAndModify`](https://github.com/spring-projects/spring-data-mongodb/blob/main/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/MongoTemplate.java#L1071) the method to update MongoDB, and I want to add `bypassDocumentValidation` to the query. However, I noticed that the [`FindAndModifyCallback`](https://github.com/spring-projects/spring-data-mongodb/blob/main/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/MongoTemplate.java#L3181-L3203) doesn't...

status: waiting-for-triage
status: pending-design-work
status: feedback-provided

JDK: Amazon Coretto 17.0.12 MongoDB version: 7.0.14 spring-data-mongodb version: 4.3.3 Sample code: ``` Criteria criteria = Criteria.where("name").is(name); Query query = Query.query(criteria); query.maxTimeMsec(5L); Update update = Update.update("lastFetchedAt", new Date()); FindAndModifyOptions findAndModifyOptions...

type: bug