From 95d4775be21883bef34edef4167b5fbdfdcf20a3 Mon Sep 17 00:00:00 2001 From: Oerd Cukalla Date: Tue, 14 Jan 2020 01:41:13 +0100 Subject: [PATCH] DATAJPA-1664 - Fixes typos in documentation of @EntityGraph. Original pull request: #407. --- .../springframework/data/jpa/repository/EntityGraph.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/springframework/data/jpa/repository/EntityGraph.java b/src/main/java/org/springframework/data/jpa/repository/EntityGraph.java index 09455bcae..666245867 100644 --- a/src/main/java/org/springframework/data/jpa/repository/EntityGraph.java +++ b/src/main/java/org/springframework/data/jpa/repository/EntityGraph.java @@ -25,12 +25,15 @@ import org.springframework.data.jpa.repository.query.JpaQueryMethod; /** * Annotation to configure the JPA 2.1 {@link javax.persistence.EntityGraph}s that should be used on repository methods. - * Since 1.9 we support the definition of dynamic {@link EntityGraph}s by allowing to customize the fetch-graph via via + * Since 1.9 we support the definition of dynamic {@link EntityGraph}s by allowing to customize the fetch-graph via * {@link #attributePaths()} ad-hoc fetch-graph configuration. + * + * If {@link #attributePaths()} are specified then we ignore the entity-graph name {@link #value()} and treat this + * {@link EntityGraph} as dynamic. * - * @author Christoph Strobl If {@link #attributePaths()} are specified then we ignore the entity-graph name - * {@link #value()} and treat this {@link EntityGraph} as dynamic. + * @author Christoph Strobl * @author Thomas Darimont + * @author Oerd Cukalla * @since 1.6 */ @Retention(RetentionPolicy.RUNTIME)