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...
The documentation doesn't list the `2021.1` release train yet: https://docs.spring.io/spring-data/mongodb/docs/current/reference/html/#compatibility.matrix
Java doc of repository insert collection method say : "Inserts the given entities. Assumes the given entities to have not been persisted yet and thus will optimize the insert over...
The `$unionWith` operator has been supported by [`UnionWithOperation`](https://docs.spring.io/spring-data/mongodb/docs/3.4.x/api/org/springframework/data/mongodb/core/aggregation/UnionWithOperation.html) since Spring Data MongoDB 3.1 but is not currently documented in the list of [Spring Data's Supported Aggregation Operators](https://docs.spring.io/spring-data/mongodb/docs/current/reference/html/#mongo.aggregation.supported-aggregation-operations). In "Table 12....
Hello, If you add a new function with Optional value return its would be useful to control return value. Current Implementation and throw an exception if there is no data...
Turn defaulting off and enforce an explicit choice from the user.
db.rep_report_param_label.aggregate([{ "$match": {} }, { "$group": { "_id": { "_id:null": "$_id:null", "label_name": "$label_name" } } }, { "$project": { "label_name": "$_id.label_name", "_id": 0 } }, { "$sort": { "serial_number": -...
**[Mark Paluch](https://jira.spring.io/secure/ViewProfile.jspa?name=mp911de)** opened **[DATAMONGO-2163](https://jira.spring.io/browse/DATAMONGO-2163?redirect=false)** and commented Similar to [DATAMONGO-2138](https://jira.spring.io/browse/DATAMONGO-2138), we should provide a type-safe Update DSL using Kotlin property references. The initial pull request contained already a potential example: ```java...
Hi, there is a bug in private method _BsonBinary visitUUIDConstructor(String uuidConstructorName)_ in _ParameterBindingJsonReader_ class: ``` private BsonBinary visitUUIDConstructor(String uuidConstructorName) { this.verifyToken(JsonTokenType.LEFT_PAREN); String hexString = this.readStringFromExtendedJson().replaceAll("\\{", "").replaceAll("}", "").replaceAll("-", ""); this.verifyToken(JsonTokenType.RIGHT_PAREN); byte[]...
Hello, According to the MongoDB automatic CSFLE specs (https://docs.mongodb.com/manual/reference/security-client-side-automatic-json-schema/#std-label-field-level-encryption-encrypt-keyword) : > encrypt cannot be specified within any subschema of the items or additionalItems keywords. **Specifically, automatic client-side field level encryption...
Currently it is only possible to include the target type within an interface projection when operating upon associations. It should be allowed to use interface projections on references using `@DBRef`....