Feb 27th, 2013, 08:22 AM
Handling unknown properties.
I've posted this question on Stackoverflow, probably should have posted it here first in hindsight;
"I want to be able to load an object from a MongoDB collection and be able to handle unknown properties / elements in the document using the Spring Data MongoDB driver. Primarily when the object is saved again, that any unknown properties are not discarded.
I've seen the equivalent feature in the .net driver (using the BsonExtraElements attribute), but cannot find any documentation or articles that discuss this for Spring MongoDB.
I wondered if I've missed something, or do I need to consider implementing or extending my own MappingMongoConverter to handle this?"
Original Stackoverflow Post
Can anyone help?
Thanks in advance,