I tried to add a property to my User class to get it to automatically load its child records (contacts
).
According to the error below, this doesn't seem possible, at least the way I tried to do it:
@Persistent(mappedBy = "user", defaultFetchGroup="true")
private List<Contact> contacts;
WARNING: Meta-data warning for com.contactly.User.contacts: The datastore does not support joins and therefore cannot honor requ
ests to place related objects in the default fetch group. The field will be fetched lazily on first access. You can modify this warn
ing 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.
Is there any other way to do this in JDO?