title: Set fetchSize for owned relationship in JDO
body: <p>Is there a way to control the fetch size used for owned relationship ?</p>
  
  <p>Example :</p>
  
  <pre><code>@PersistenceCapable
  public class Employee {
  
    /** The contact info sets. */
    @Persistent(defaultFetchGroup = "true")
    @Element(dependent = "true")
    private Collection&lt;ContactInfo&gt; contactInfoSets;
  
    /** The key. */
    @PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Key key;
  
    public Collection&lt;ContactInfo&gt; getContactInfo() {
      return contactInfoSets;
    }
  
  }
  
  @PersistenceCapable
  public class ContactInfo {
  
    /** The key. */
    @PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Key key;
  
  }
  </code></pre>
  
  <p>In the example above, if I do :</p>
  
  <pre><code>Employee e = pm.getObjectById(Employee.class, "1");
  e.getContactInfoSets();
  </code></pre>
  
  <p>It will fetch every owned contact in group of 20. How to tell jdo to fetch all contacts in a single query ?</p>
  
  <p>PS : I tried to set <code>pm.getFetchPlan().setFetchSize(FetchPlan.FETCH_SIZE_GREEDY);</code> without success.</p>