[appengine-java] Re: How to store/retrieve inheritance and composition in Datastore

2010-01-20 Thread Federico Keen
Thanks guys, but I ended up migrating away. I'll wait until the datastore is a bit more developed :D On Jan 16, 6:54 am, datanucleus andy_jeffer...@yahoo.com wrote: I think Max has been improving the GAE/J inheritance support recently, so would be surprised if this isn't possible, at least in

[appengine-java] Re: How to store/retrieve inheritance and composition in Datastore

2010-01-15 Thread jd
You mean you want to use OO in Java? Then you need Twig http://code.google.com/p/twig-persist/ It supports polymorphic relations and inheritance just like your example with no configuration For example you could have: class D { CollectionC cs; } which could contain A's or B's. To speed up

[appengine-java] Re: How to store/retrieve inheritance and composition in Datastore

2010-01-15 Thread Federico Keen
HI JD, thanks for the reply, but is there a way to to this without Twig? I mean, it's pretty basic what I'm trying to do, and probably google has provided a way to do it without needing an external library. Maybe I'm wrong, but I wouldn't like to depend on someones library! Thanks Fede On Jan 15,