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

The GeoJson deseralizer creates an invalid GeoJsonMultiPolygon that contain holes. For example, while using a valid GeoJson MultiPolygon: [Dallas, Texas GeoJson](https://gist.github.com/boundaries-io/a7336c9c8fe2319ac9da89848ee07674) ![image](https://github.com/spring-projects/spring-data-mongodb/assets/20430116/7f96f7b9-7cf0-47e9-82fe-aa22f67c1b9f) invoking the method ``` ObjectMapper mapper = new...

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

Hi, I am currently preforming field level authentication via an ABAC policy, and want support for allowing certain users to update certain fields. The Update class is a good syntactic...

type: enhancement

I'm using spring-data-mongodb 4.0.8. On creating an update with an `$unset`, the following is added to the document: ```javascript { $unset: { fieldName: 1 } } ``` The value here...

type: bug
status: pending-design-work

Actual: On save attempt `@Version` attribute is increased. When save fails due MongoSocketOpenException, `@Version` attribute is not restored As result, when socket connection is back, save fails due OptimisticLockingFailureException Expected:...

status: feedback-provided

1) it's causing never ending cycle on 3.1.5 - spring boot: @Query("{profile.$id: :profileId}") Optional findUserByProfile(@Param("profileId") UUID profileId); commenting out the query works: //@Query("{profile.$id: :profileId}") Optional findUserByProfile(@Param("profileId") UUID profileId); Not sure,...

status: feedback-provided

when add following test code in UpdateMapperUnitTests.java, test would fail for parameter "levelOne.levelTwo.1.0" and "levelOne.levelTwo.2.0". ``` @ParameterizedTest @ValueSource(strings = {"levelOne.levelTwo.1", "levelOne.levelTwo.1.0", "levelOne.levelTwo.2.0"}) void objectNestedIntegerFieldCorrectly(String path) { Update update = new...

type: bug

AFAICT there's no way to access MongoDB's "maximum query execution time" capability when Spring Data MongoDB's support for Querydsl. Since I already had my own extension of `QuerydslMongoPredicateExecutor` (for unrelated...

status: waiting-for-triage
type: enhancement

The `@MongoId` annotation is not being taken into account for nested object queries using a projection class that doesn't include the nested object. This causes collection scans and results in...

status: feedback-provided

**[Christoph Strobl](https://jira.spring.io/secure/ViewProfile.jspa?name=cstrobl)** opened **[DATAMONGO-2073](https://jira.spring.io/browse/DATAMONGO-2073?redirect=false)** and commented Check `MongoException` for lables `TransientTransactionError, UnknownTransactionCommitResult` indicating potentially recoverable transaction commit errors and translate them to `TransientDataAccessException`. See `MongoException#hasErrorLabel(String)`. --- **Issue Links:** - [DATAMONGO-2075](https://jira.spring.io/browse/DATAMONGO-2075)...

type: task
in: core

First, thank you for supporting spring framework. I encounter [this converter issue](https://stackoverflow.com/questions/39079608/spring-data-mongodb-enum-mapping-converter) while i developing with spring & mongodb. Also, we have solution to avoid above issue, but there seems...

status: waiting-for-triage