Issues/datajpa 560

We now support programmatic use of entity graphs
@Entity
@QueryEntity
@NamedEntityGraphs(@NamedEntityGraph(name = GroupInfo.members, attributeNodes = @NamedAttributeNode(members)))
public class GroupInfo {
...
@ManyToMany List<GroupMember> members = new ArrayList<GroupMember>(); //default fetch mode is lazy.
}
the fetch graph to be used can now configured on a repository query method.
userRepository.getGroup(id, new JpaEntityGraph(GroupInfo.members,EntityGraphType.LOAD));