Hey,
Another way to handle value serialization/deserialization in a way that
the EntityStore would be happy with is to use Strings as value type. So:
EntityState.setProperty(name, String);
where String is either toString() (for String, Integer, etc.) and in
case of ValueComposite it is an XML-representation. This would be
slightly slower but it does ensure that the data is long-lived, i.e.
that we can always extract it and do migration. And there's no type
needed in the EntityStore. etc. All kinds of goodness!
/Rickard
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev