@Retention(value=RUNTIME) @Target(value=METHOD) public @interface EntityGraph
The arguments value
and paths
are mutually exclusive. If value
is set, it
references a named entity graph defined by JPA metadata.
If paths
is set, an entity graph is constructed programmatically from the list of
attribute paths.
public abstract String value
public abstract EntityGraphType type
public abstract String[] paths
foo.bar.baz
adds an attribute node baz
to a subgraph
bar
for the subgraph foo
.Copyright © 2020 The Apache Software Foundation. All rights reserved.