Can you post code? My assumption is that you are using JSP dispatch. Child
objects are lazy loaded, so if this is what you are doing:

1. Fetch persistence manager instance
2. Make query on parent object
3. Store query results in a request attribute
4. Close persistence manager
5. dispatch.forward() to JSP
6. Iterate over entities and retrieve related entities

This won't work. You'll have to retrieve the related entities before the
persistence manager has closed.

On Fri, Nov 20, 2009 at 5:58 AM, Icarus <[email protected]> wrote:

> Hello,
>
>  I am trying to get a m:n unowned relation working on google java app
> engine datastore. In the test cases, I am able to commit to datastore
> through persistence manager and get back the data. But when I do the
> same on a jsp page , the list<Key> of the related entity is always
> null ( when I retrieve the other related entity from datastore.)
>
> Is anyone facing similar issue ? I used the google datastore docs for
> reference for this.
>
> Thanks,
> Ic
>
> --
>
> 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]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=.
>
>
>


-- 
Ikai Lan
Developer Programs Engineer, Google App Engine

--

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=.


Reply via email to