goldmansachs/reladomo

Backward compatibility not preserved after changing the schema

Closed this issue · 1 comments

If I update the existing XML schema file. The newly generated Finder class will generate a class with a new serialVersionId and thus breaking the Backward compatibility.
https://github.com/goldmansachs/reladomo/blob/master/reladomogen/src/main/templates/readonly/Finder.jsp#L783

If you change the schema in a significant way, for example, removing an attribute, then the class is not backward compatible for serialization. There is no point pretending it is, is there?