2009/12/23 Eugene Kuleshov <[email protected]>

>
>  John, I still hope to find a plain JDO solution that won't tie my
> application to GAE-specific model and helper libraries that working
> around GAE restrictions.
>

I understand completely.  Twig is just there as an alternative if you decide
that the time spent overcoming JDO-GAE limitations is not worth the cost in
code portability.



> Also, I would prefer to not manually inlinine parent's data into the
> child because it a) cause data duplication (e.g. I have set the data
> in all places upon creation); b) it makes model even worse when parent
> has more then one child type (e.g. order/orderItem, order/
> orderDelivery, etc). I should mention that I used an order model only
> as an example and my model is a bit more complex then that.
>


The underlying datastore cannot do what you want in a single query unless
you denormalise you data.  You seem to be describing the need for a rdbms
join which is not supported.

--

You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.


Reply via email to