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...
Hello, here is the demo project: https://github.com/ArayChou/spring-data-mongodb-test. Run the class test.ExampleApplication to start it. (it needs a local default installed MongoDB server) spring-data-mongodb: 3.3.4 querydsl-mongodb: 5.0.0 mongodb-driver-sync: 4.4.2 ``` @Document...
Hi, we want to upgrade from spring boot 2.5.x to version 2.6.x. In the new version of SB, the spring data mongo db was updated from version 3.2.x to 3.3.x....
Consider two **org.springframework.data.mongodb.core.query.Query** instances almost identical except for one projection field which is - included in one query - excluded in the other query then the following test fails ```...
Hi, We are getting following error logged in Dynatrace on all Mongo calls even though app functions normally and we are also unable to see the exception when debugging through...
I've created a repo to demonstrate the issue, at https://github.com/oliverlockwood/mongodb-issue-demonstration, based on following the guidelines at https://spring.io/guides/gs/accessing-data-mongodb/. That repo has a clear README but I'll highlight the main points here...
Hey everyone, I couldn't seem to find an official answer on how to reference a custom mapping context when using annotation `@EnableMongoAuditing`. For XML configuration, official docs specified ``` ```...
Attempting to use a Spring Data repository to query the structure of a simple type (i.e., a type having a write converter) embedded in another type fails to a `MappingException`....
Count queries using `$near` or `$nearSphere` require a rewrite to `$geoWithin`. However, according to the [official MongoDB documenatation](https://docs.mongodb.com/manual/reference/operator/query/near/), the syntax for a `$near` query is different when using a GeoJSON...
When writing ReactiveMongoRepository/ReactiveCrudRepository with spring-boot-starter-data-mongodb-reactive and declaring suspend find function with non-nullable kotlin return types, the repository returns null when it can't find an entity instead of EmptyResultDataAccessException. Here is...