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