Hey, I'm going to take a stab at this, but I'm certainly not an expert.
#1. You can't query based on a field in a Review object per http://code.google.com/appengine/docs/java/datastore/relationships.html#Owned_One_to_Many_Relationships So, if you're doing that, it won't work. #2. You must be using some variation of Google's Key for object IDs for this to work per http://code.google.com/appengine/docs/java/datastore/creatinggettinganddeletingdata.html#Keys #3. Can you fix the problem by getting the Product and then calling PersistenceManager.retrieve(product)? Anyways, my guess is #1. Let me know if that was helpful/harmful because it will boost/destroy my ego. Jake On Feb 24, 10:33 am, DreamFlasher <[email protected]> wrote: > Hi, > > if I wanted to have a product which contains reviews to it, and > Product is a class and Review as well, how would I do that? > I tried > > @Persistent(defaultFetchGroup = "true") > private LinkedList<Review> reviews = new LinkedList<Review>(); > > in class Product. I would like to get the attached objects when > loading it. With the configuration above I get "The datastore does not > support joins and therefore cannot honor requests to place related > objects in the default fetch group." Is there any way to auto fetch? > > This also does not work with serialized = "true". > > Kind regards, > Marcel -- 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.
