diff --git a/src/main/asciidoc/jpa.adoc b/src/main/asciidoc/jpa.adoc index ad5fc7918..c8bc6e958 100644 --- a/src/main/asciidoc/jpa.adoc +++ b/src/main/asciidoc/jpa.adoc @@ -655,7 +655,6 @@ The following example shows how to reference a named entity graph on a repositor ==== [source, java] ---- -@Repository public interface GroupRepository extends CrudRepository { @EntityGraph(value = "GroupInfo.detail", type = EntityGraphType.LOAD) @@ -671,7 +670,6 @@ It is also possible to define ad hoc entity graphs by using `@EntityGraph`. The ==== [source, java] ---- -@Repository public interface GroupRepository extends CrudRepository { @EntityGraph(attributePaths = { "members" })