We should add an annotation to specify a named {{EntityGraph}}, not using the _awful_ structured (but not type-safe) annotations defined by the JPA spec, but using the syntax understood by {{GraphParser}}.
{code:java}@NamedFetchGraph(name="Name", root=Entity.class, fetch="number, total, customer( name, city )"){code}
We would validate string at startup, to alleviate typesafety concerns somewhat. |
|