On Mon, Apr 6, 2009 at 3:18 PM, Rickard Öberg <[email protected]> wrote: > 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!
That would be an interesting approach. And would make the ES even simpler than before. Cheers -- Niclas Hedhman, Software Developer http://www.qi4j.org - New Energy for Java I live here; http://tinyurl.com/2qq9er I work here; http://tinyurl.com/2ymelc I relax here; http://tinyurl.com/2cgsug _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

