I notice that jongo can also convert the java classes that does not include id variable, but it is written in the
jongo.org(mapping section) that each class that has to be converted from document to java object or viceversa has to accomodate id parameter. In the examples in [1], it is possible to insert a coordinate object without id. The question is what is the downside of not having an Id inside the classes. I have a simple API and I want to plan to store the object created through this API, however, there is any specific Id variable that indicates the mongo_document_id. Can anyone explain me, should I update my API and add id parameter into each class under API or just save them without id.
Thanks in advance.