Skip to content

Commit e92a875

Browse files
authored
Update README.md
1 parent 912a8b9 commit e92a875

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ Lazy loading of associations between entities is a well established best practic
324324

325325
The JPA DataFetcher implementation will attempt to build dynamic fetch graph in order to optimize query performance and avoid N+1 lazy loading. However, if there are composite foreign keys being used on `@ManyToOne` association declared in GraphQL query, Hibernate persistence provider will issue a separate SQL query to resolve the parent entity.
326326

327-
To disable default `@ManyToOne` associations default behavior of eager fetch, make explicit use of FetchType.LAZY for all to-many associations in your entity model. It will delay the initialization of the relationship unless it is specified in the GraphQL query entity graph to improve performance when fetching many entities with to-one associations.
327+
To disable default `@ManyToOne` associations behavior with eager fetch, make explicit use of FetchType.LAZY for all associations in your entity model. It will delay the initialization of the relationship unless it is specified in the GraphQL query entity graph to improve performance when fetching many entities with their associations.
328328

329329
GraphiQL Browser
330330
--------

0 commit comments

Comments
 (0)