Я попытался добавить свойство в свой класс User, чтобы оно автоматически загружало его дочерние записи (contacts
).
Согласно приведенной ниже ошибке, это кажется невозможным, по крайней мере, так, как я пытался это сделать:
@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.
Есть ли другой способ сделать это в JDO?