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...
Hi, we have some APIs on our server that allow the client to specify a custom `skip` and `limit` value for returning back the exact segment of results they want...
Although Spring Data MongoDB has support for MongoDB comments (e.g., `Query.comment(String)` and `@Meta(comment = "...")`) I'd like to see that support extended to support a use case I'd like to...
The documentation for repository query keywords ([link](https://docs.spring.io/spring-data/mongodb/reference/repositories/query-keywords-reference.html#appendix.query.method.predicate)) mentions support for the IsEmpty keyword, however, it fails with "Unsupported keyword" when used. **Steps to reproduce** 0) spring initializr: - Maven &...
The readme still uses `Gierke`, though Olivers last name changed already quite some time ago. We should update the code snippet accordingly.
**[thokrae](https://jira.spring.io/secure/ViewProfile.jspa?name=thokrae)** opened **[DATAMONGO-2106](https://jira.spring.io/browse/DATAMONGO-2106?redirect=false)** and commented I was able to reproduce this bug with a minimal modification of the official Spring Boot guide for [Accessing Data with MongoDB](https://spring.io/guides/gs/accessing-data-mongodb/), see https://github.com/thokrae/spring-data-mongo-zoneddatetime. After...
**[Ajit Pendse](https://jira.spring.io/secure/ViewProfile.jspa?name=ajitspendse)** opened **[DATAMONGO-1274](https://jira.spring.io/browse/DATAMONGO-1274?redirect=false)** and commented MongoTemplate currently only allows saving a single object at a time, but allows batch removal and insertion using removeAll and insertAll. It would be...
**[Mateusz Rasiński](https://jira.spring.io/secure/ViewProfile.jspa?name=mrasinski)** opened **[DATAMONGO-1142](https://jira.spring.io/browse/DATAMONGO-1142?redirect=false)** and commented Having two types of entities, that are mapped to two Java classes in the single MongoDB collection: ``` @Document public class Superclass { ......
Migrated very simple java application from Java 11 to Java 17. Have singe Document ``` @Document @Data @NoArgsConstructor public class SyncTask { @Id private ObjectId id; @Indexed private String taskId;...
**[Christoph Strobl](https://jira.spring.io/secure/ViewProfile.jspa?name=cstrobl)** opened **[DATAMONGO-836](https://jira.spring.io/browse/DATAMONGO-836?redirect=false)** and commented Currently `UpdateMapper` extends `QueryMapper` to use some of the functions provided in `QueryMapper`. Though both mappers do not have that much in common. `UpdateMapper`...
It appears that the collection name is obtained differently in different circumstances: 1. When using an interface repository, with the usual methods, or added methods, spring-data-mongodb obtains the collection name...