http://code.google.com/appengine/docs/java/datastore/jdo/relationships.html#Owned_One_to_Many_Relationships

entity groups and "mappedBy" in your parent class.

On Jul 2, 1:39 pm, ksafez216 <mell...@gmail.com> wrote:
> After I get a Command object using PersistenceManager.getObjectById(),
> and then try to access the ArrayList<Action> member variable (see code
> below) I get this error:
>
> The datastore does not support joins and therefore cannot honor
> requests to place related objects in the default fetch group.  The
> field will be fetched lazily on first access.  You can modify this
> warning by setting the datanucleus.appengine.ignorableMetaDataBehavior
> property in your config.  A value of NONE will silence the warning.  A
> value of ERROR will turn the warning into an exception.
>
> My question is:  how can I make sure that the "actions" variable below
> is fetched every time I do a query for Command entities?
>
> Here is my code:
>
> @PersistenceCapable
> public class Command {
>
> @Persistent(defaultFetchGroup="true")
>         public ArrayList<Action> actions;
>
> }
>
> @PersistenceCapable
> class Action {
>     Action() { }
>
>
>
>
>
>
>
> }

-- 
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 google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to