Skip to content

Commit a9b8042

Browse files
author
Renke Christian von Seggern
committed
Remove redundant words.
1 parent 28f5a49 commit a9b8042

File tree

1 file changed

+1
-1
lines changed
  • src/main/antora/modules/ROOT/pages/mongodb/mapping

1 file changed

+1
-1
lines changed

src/main/antora/modules/ROOT/pages/mongodb/mapping/mapping.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ No further conversion happens unless `@MongoId` declares a desired field type.
7070
If no value is provided for the `id` field, a new `ObjectId` will be created and converted to the properties type.
7171
* If a field is annotated with `@MongoId(FieldType.…)` in the Java class it will be attempted to convert the value to the declared `FieldType`.
7272
If no value is provided for the `id` field, a new `ObjectId` will be created and converted to the declared type.
73-
* If a field named `id` id field is not declared as a String, BigInteger, or ObjectID in the Java class then you should assign it a value in your application so it can be stored 'as-is' in the document's _id field.
73+
* If a field named `id` is not declared as a String, BigInteger, or ObjectID in the Java class then you should assign it a value in your application so it can be stored 'as-is' in the document's _id field.
7474
* If no field named `id` is present in the Java class then an implicit `_id` file will be generated by the driver but not mapped to a property or field of the Java class.
7575

7676
When querying and updating `MongoTemplate` will use the converter to handle conversions of the `Query` and `Update` objects that correspond to the above rules for saving documents so field names and types used in your queries will be able to match what is in your domain classes.

0 commit comments

Comments
 (0)