bguerout/jongo — pull request #40 by yamsellem (2012-07-07 15:12:35+00:00)
Title: move id setting in unmarshaller

Instead of using JsonProperty directly into the Save class, it is now part of the Unmarshaller interface.

Unmarshaller.setDocumentGeneratedId() method is implemented by JacksonProvider in our case.
JacksonProvider seems to be a better candidate to search within a class for an _id attribute (named so or annotated with annotated with JsonProperty).

In the case of a redefinition of the Unmarshalling strategy, one must specify how to retrieve the ObjectId seted by Mongo.