spring-data-mongodb
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...
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)  invoking the method ``` ObjectMapper mapper = new...
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...
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...
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:...
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,...
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...
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...
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...
**[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)...
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...