File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
source/fundamentals/data-formats Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -279,15 +279,15 @@ package:
279
279
* - ``BsonCreator``
280
280
- Marks a public constructor or a public static method as the creator for
281
281
new instances of the class. You must annotate all parameters in the
282
- constructor with ``BsonProperty`` with values that you defined in
283
- the corresponding field declarations.
282
+ constructor with either the ``BsonProperty`` or ``BsonId`` annotations.
284
283
285
284
* - ``BsonDiscriminator``
286
285
- Specifies that a class uses a discriminator. You can set a custom
287
286
discriminator key and value.
288
287
289
288
* - ``BsonRepresentation``
290
- - Specify a BSON type to store when different from the POJO property.
289
+ - Specifies the BSON type used to store the value when different from the
290
+ POJO property.
291
291
292
292
* - ``BsonId``
293
293
- Marks a property to serialize as the _id property.
You can’t perform that action at this time.
0 commit comments