Skip to content

Commit 592f359

Browse files
niccottrellrozza
authored andcommitted
Update pojos.md
1 parent a9cfe5f commit 592f359

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/content/bson/pojos.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ A `ClassModel` for a POJO includes:
1919
* A new instance factory. Handling the creation of new instances of the POJO. By default it requires the POJO to have an empty constructor.
2020
* Property information, a list of [`PropertyModel`]({{<apiref "org/bson/codecs/pojo/PropertyModel.html">}}) instances that contain all the
2121
property metadata. By default this includes; any public getter methods with any corresponding setter methods and any public fields.
22-
* An optional IdProperty. By default the `_id` or `id` property in the POJO.
22+
* An optional IdProperty (see `BsonId` annotation). By default the `_id` or `id` property in the POJO.
2323
* Type data for the POJO and its fields to work around type erasure.
2424
* An optional discriminator value. The discriminator is the value used to represent the POJO class being stored.
2525
* An optional discriminator key. The document key name for the discriminator.

0 commit comments

Comments
 (0)