title: How to limit columns used in a Hibernate entity graph
body: <p>Hibernate 5.0.10
  I have a subgraph defined that looks like this:</p>
  
  <p><code>
  @NamedSubgraph(name = "proc", attributeNodes = {
    @NamedAttributeNode("name"),
    @NamedAttributeNode("childTable1"),
    @NamedAttributeNode("childTable2"),
    @NamedAttributeNode("childTable3"),
    @NamedAttributeNode("childTable4")
  }),
  </code></p>
  
  <p>The problem is that when using this subgraph, I'm getting back all attributes defined in the root table (where name exists), not just the subgraph attributes I've specified.  Is there a way to tell hibernate to not fetch those children?  My query looks just like <code>select rec from records rec join rec.proc</code></p>