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...
- [ ] 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...
Closes #4032 There was a bug where the hashCodes of the exclude and include queries were identical. The issue was caused by the hashCode calculation in HashMap, where the XOR...
I was trying to run this code and found out that @LastModifiedDate annotation in my MyDocumentType entity is not automatically put into my document. The field is disappeared. ``` var...
ValueConversion requires sometimes for that just the plain property information but also the contextual path in wich it is called. we should make sure to provide it.
When any operations made through MongoTemplate, I set the log level to DEBUG using the following configuration: logging.level.org.springframework.data.mongodb.core.MongoTemplate=DEBUG. This allows me to view the queries executed by MongoTemplate, which is...
Hey Team, This is Ganesh. I feel that the available operations In SpEl - MethodReferenceNode work's fine but, In some operations like $trunc it doesn't works expected. when i give...
I have registered a `MappingMongoConverter` component to perform custom conversions for all document reads and writes. When performing `find` / `findOne` / etc. operations, this works as expected. However, when...
I would like to concat an array with another field. If I use normal update then I can use `$push` operator but in pipeline update I have to use `$concatArrays`....
**Environment:** Kotlin with coroutines 2.1.0 Spring Boot 3.3.1 **Problem** When adding a @Meta annotation to my queries in a given repository, I get empty lists as result. Unfortunately, I could...