I have a complex data model with lots of attributes that I need to store. Since there's no need for searching on the attributes in the database (I'm using Lucene.Net for the search) I don't want to create tables and columns for the details of the model, rather I want to serialize the whole model and store it in a TEXT
column.
One of the issues for this approach is maintainability; specifically, when the data model needs to change. There might be occasions in the future where there should be some convert mechanism to update the already-stored entities.
Which type of serialization (JSON/XML/other) and which implementation is more appropriate for such scenario?