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...
Trying to run an Aggregation which has $out at the end. $out put outputs millions of records, the repository tires to map it and fails with a heap error. I...
We want to use BulkOperations with AggregationUpdates. Currently, BulkOperations defines its API like below, using `Update` and not `UpdateDefinition`. ```java public interface BulkOperations { /** * Add a list of...
Hi. I think it's a good idea to use Kotlin's [inline class](https://kotlinlang.org/docs/inline-classes.html) to enforce a restriction at the compile time and prevent yourself from mixing up an id of one...
See: `LazyLoadingProxyFactory#createLazyLoadingProxy` This would allow us to get rid of a code path that is only there to support proxies in GraalVM native image.
Annotation `@version` is not working in mongodb BulkOperations insert operation but working with mongoRepository insert. Below is the code for BulkOperations and MongoRepository: ``` @PostMapping("/using-repository") public ResponseEntity createDocument(@RequestBody Documents documentsRequest)...
Make ChangeStreamOptionsBuilder support startAtOperationTime Closes #3460 - [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...
Assume you have an enum that you want to persist as an integer: ``` @ValueConverter(RecordConverter.class) private RecordEnum record; ... public static class RecordConverter implements PropertyValueConverter
Resolves: #4037
- [ ] 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 submit...