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

**[Heiko Scherrer](https://jira.spring.io/secure/ViewProfile.jspa?name=scherrer)** opened **[DATAMONGO-1151](https://jira.spring.io/browse/DATAMONGO-1151?redirect=false)** and commented **Task description** I request a feature that I couldn't find in the current implementation. Probably there's another elegant way to solve the requested behaviour....

in: core
status: pending-design-work
in: repository
type: enhancement

Hi All, I had previously used certain settings for MongoDB of observability, and those configurations were effective. ``` @Bean MongoClientSettingsBuilderCustomizer mongoMetricsSynchronousContextProvider(ObservationRegistry registry) { return (clientSettingsBuilder) -> { clientSettingsBuilder.contextProvider(ContextProviderFactory.create(registry)) .addCommandListener(new MongoObservationCommandListener(registry));...

status: feedback-provided

I have a `@Document` class, `Foo` with a field like this: ``` @Field(value = "bar", targetType = FieldType.OBJECT_ID) String bar; ``` I'm using QueryDSL so I also end up with...

type: bug
status: feedback-provided

Dear friends, On our project we faced with issue when using `PropertyValueConverter` that cause `ClassCastException`. Here are some code snippets: Entity class with ValueConverter annotation: ```java @Document("user") @Data public class...

type: bug

`SetOperators`, `DateOperators` and other factories to create aggregation expressions accept either `String` field references or `AggregationExpression`s. With the evolution of `AggregationVariable`, that is a `Field`, calling code has to unwrap...

type: enhancement

I have the following data class in kotlin, where the "type" attribute always has the fixed value "BILLET", this is because the interface that my class implements asks for this...

status: blocked
type: enhancement

Use the write concern resolver consistently throughout the codebase.

type: task

mongoTemplate seems to automatically convert strings to ObjectIds, which can lead to undesired behavior I'm using mongo 6.x and spring-data-mongo 4.0.8 See the following test and its log output: ```...

status: waiting-for-triage
for: team-attention
status: feedback-provided

Add a generic PropertyExpression to give an alias for any AggregationExpression currently you can use a class in ArrayOperators.Reduce.PropertyExpression which is i think misleading as i first thought it will...

status: waiting-for-triage
status: feedback-provided

# TLDR; When annotating a query with `@Annotation` on a MongoRepository of a view, this UncategorizedMongoDbException is thrown: `Command failed with error 166 (CommandNotSupportedOnView): 'Namespace my_database.my_view is a view, not...

status: pending-design-work
type: enhancement