Annotation Interface EntityGraph

@Retention(RUNTIME) @Target({METHOD,ANNOTATION_TYPE}) @Documented public @interface EntityGraph
Annotation to configure the JPA 2.1 EntityGraphs that should be used on repository methods. Since 1.9 we support the definition of dynamic EntityGraphs by allowing to customize the fetch-graph via attributePaths() ad-hoc fetch-graph configuration. If attributePaths() are specified then we ignore the entity-graph name value() and treat this EntityGraph as dynamic.
Christoph Strobl, Thomas Darimont, Oerd Cukalla