fetch « jdo « Java Enterprise Q&A





1. JDO not fetching collection member field    stackoverflow.com

Have a class:

class Node implements Serializable
{
    private String name;

    public String getName { return name; }
    public void setName(String val){ name = ...

2. Eager fetching of children with JDO (Datanucleus)    stackoverflow.com

can JDO fetch all children of a database model at once? Like:

class Parent {
 @Persistent(mappedBy="parent") 
 private Set<Children> children;
}

class Children {
 @Persistent
 private Parent parent;
 @Persistent
 private String name;
}
In my case, ...