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...
When re-using `@Document` entities as embedded objects under another document, it can be desirable to disable auto-index creation for the embedded objects. Searching the internet turns up [this stackoverflow link](https://stackoverflow.com/questions/36867710/spring-data-mongodb-how-ignore-unique-indexed-field-when-document-is-embedded-i)...
**[Marc Tarin](https://jira.spring.io/secure/ViewProfile.jspa?name=mavonice)** opened **[DATAMONGO-1531](https://jira.spring.io/browse/DATAMONGO-1531?redirect=false)** and commented Add support for IN_REGEX (and NOT_IN_REGEX) keywords to MongoQueryCreator. As an alternative to the [solutions](http://stackoverflow.com/a/36647967/5873923) I offered in the SO thread, it would be...
Hi, We implemented some custom functionality by extending JpaRepository, JpaRepositoryFactory, JpaRepositoryFactoryBean and SimpleJpaRepository. It was pretty straight forward once we figured out how to use those 4 classes. Now we...
# Environment - Spring Boot Starter Parent 3.2.2 - Spring Security 6.2.2-SNAPSHOT (6.2.1 has error related to [issue](https://github.com/spring-projects/spring-security/issues/14362)) - Spring Data Bom 2023.1.3-SNAPSHOT (2023.1.2 has error related to [issue](https://github.com/spring-projects/spring-data-commons/issues/3025)) -...
Need: The method that's being called when using method-like queries has default package visibility, compared to other methods with protected visibility. In order to extend `MongoTemplate` without placing the new...
# Shard key not honored in ReferenceLookupDelegate I have identified an issue in org.springframework.data.mongodb.core.convert.ReferenceLookupDelegate when using sharded mongodb collections. The shard key of our "Task" collection includes the fields "datacenter"...
Hi, we have a bunch of APIs that allow our users to specify a comma-separated list of fields that they want to receive back from the API response, which lowers...