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...
Fixes #4612 - [x] You have read the [Spring Data contribution guidelines](https://github.com/spring-projects/spring-data-build/blob/master/CONTRIBUTING.adoc). - [ ] You use the code formatters provided [here](https://github.com/spring-projects/spring-data-build/tree/master/etc/ide) and have them applied to your changes. Don’t...
Fixes: https://github.com/spring-projects/spring-data-mongodb/issues/4588 - [x] You have read the [Spring Data contribution guidelines](https://github.com/spring-projects/spring-data-build/blob/master/CONTRIBUTING.adoc). - [x] You use the code formatters provided [here](https://github.com/spring-projects/spring-data-build/tree/master/etc/ide) and have them applied to your changes. Don’t submit...
Fixes: #4502
This commit enables using a _type_ parameter to define the from collection of a `$lookup`/`$graphLookup` aggregation stage. In doing so we can derive the target collection name from the type...
Provide an extension for `SimpleMongoClientDatabaseFactory` & `SimpleReactiveMongoDatabaseFactory` that accepts a `com.mongodb.kotlin.client.MongoClient` respectively `com.mongodb.kotlin.client.coroutine.MongoClient` Since the Kotlin driver is wrapping the Java driver we can unwrap the instance and pass it...
This PR makes sure to convert values, for _Querydsl_ predicates pointing to a property with an explicitly annotated target type, into the desired format. Resolves: #4359
Migrates DependencyTests to ArchUnit. The tests are currently failing due to various undesired dependencies. The tests start with something like: JavaClasses importedClasses = new ClassFileImporter() ... .that(onlySpringData()) By adding .that(ignorePackage("org.springframework.data.aot.hint"))...
This PR does two things - 1st we make sure to use available pipeline stages to figure out the operation in use to avoid running into an exception if `toDocument`...
Field fullDocumentBeforeChange on $changeStream introduced on version 6.0, disabling failing JUnit. - [x] You have read the [Spring Data contribution guidelines](https://github.com/spring-projects/spring-data-build/blob/master/CONTRIBUTING.adoc). - [x] You use the code formatters provided [here](https://github.com/spring-projects/spring-data-build/tree/master/etc/ide)...
It looks like a bug which is not allowing to override auto index creation on MongoMappingContext @christophstrobl - [x] You have read the [Spring Data contribution guidelines](https://github.com/spring-projects/spring-data-build/blob/master/CONTRIBUTING.adoc). - [x] You...