Skip to content

Commit 28f5a49

Browse files
author
Renke Christian von Seggern
committed
Use monotype font.
So it’s more in line with the rest of the doc.
1 parent 1f74f10 commit 28f5a49

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
@@ -63,7 +63,7 @@ The following outlines what type conversion, if any, will be done on the propert
6363
* If a field named `id` is declared as a String or BigInteger in the Java class it will be converted to and stored as an ObjectId if possible.
6464
ObjectId as a field type is also valid.
6565
If you specify a value for `id` in your application, the conversion to an ObjectId is done by the MongoDB driver.
66-
If the specified `id` value cannot be converted to an ObjectId, then the value will be stored as is in the document's _id field.
66+
If the specified `id` value cannot be converted to an ObjectId, then the value will be stored as is in the document's `_id` field.
6767
This also applies if the field is annotated with `@Id`.
6868
* If a field is annotated with `@MongoId` in the Java class it will be converted to and stored as using its actual type.
6969
No further conversion happens unless `@MongoId` declares a desired field type.

0 commit comments

Comments
 (0)