Announcement Announcement Module
Collapse
No announcement yet.
Handling unknown properties. Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Handling unknown properties.

    Hi all,

    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,

    Adam
Working...
X