@Aasawari I am not sure I see what the issue is with the annotations on the _id that you are referring to. The Java-Mapping POJOs quickstart does not really talk about mapping the ID attribute, so does not discuss the BsonId annotation. Are you referring to the fact I wrote the annotations as
@BsonProperty("_id")
instead of
@BsonProperty(value = "_id")
??
If so, the value = is optional when the annotation is single valued and the element is called value, Java Tutorials : Annotation Basics.
I did modify my test code to add the value = on all of my BsonProperty annotations just to make sure and I see the same behavior as before.