Package io.micronaut.data.jpa.annotation
Annotation Interface EntityGraph
Allows configuring JPA 3.0 entity graphs on query methods. Largely based on the same annotation as in Spring Data.
- Since:
- 1.0.0
- Author:
- graemerocher
-
Optional Element Summary
-
Element Details
-
value
Same asname()
.- Returns:
- The name of the entity graph.
- Default:
- ""
-
name
Specifies the name of the entity graph. If none is specified one will be created at runtime.- Returns:
- The name of the entity graph to use.
- Default:
- ""
-
hint
String hint- Returns:
- The name of the hint to use.
- See Also:
- Default:
- "jakarta.persistence.fetchgraph"
-
attributePaths
String[] attributePathsThe attributes paths to include in the entity graph.- Returns:
- The attributes paths
- Default:
- {}
-