A workaround could be to define a fetch group for every single field in
the .jdo file, and then assembling the desired combination at runtime (I
remember somebody having done that before).
Karan Malhi schrieb:
Sorry,
The code should read as:
Query query = pm.newQuery(Person.class);
For a PC object like
class Person{
String firstName;
String lastName;
String address;
}
Currently I can set a named fetch-group in the .jdo file and add it in
the fetch plan. It would've been great if I would've been able to do
the following:
Query query = pm.newQuery(Person.class);