diff --git a/src/main/java/com/avaje/ebean/FetchConfig.java b/src/main/java/com/avaje/ebean/FetchConfig.java index bf2904531..fc4f3de11 100644 --- a/src/main/java/com/avaje/ebean/FetchConfig.java +++ b/src/main/java/com/avaje/ebean/FetchConfig.java @@ -29,8 +29,7 @@ import java.io.Serializable; * // Find Orders join details using a single SQL query * } *
- * Example: Using a "query join" instead of a "fetch join" we instead use 2 SQL - * queries + * Example: Using a "query join" instead of a "fetch join" we instead use 2 SQL queries *
* *{@code
@@ -117,7 +116,7 @@ import java.io.Serializable;
* {@code
* List list = Ebean.find(Order.class)
* .fetch("customer","name", new FetchConfig().lazy(5))
- * .fetch("customer.contacts","contactName, phone, email")
+ * .fetch("customer.contacts","contactName, phone, email")
* .fetch("customer.shippingAddress")
* .where().eq("status",Order.Status.NEW)
* .findList();
@@ -125,12 +124,7 @@ import java.io.Serializable;
* // query 1) find order where status = Order.Status.NEW
* //
* // .. if lazy loading of customers is invoked
- * // .. use a batch size of 5 to load the customers
- *
- * find customer (name)
- * fetch customer.contacts (contactName, phone, email)
- * fetch customer.shippingAddress (*)
- * where id in (?,?,?,?,?)
+ * // .. use a batch size of 5 to load the customers
*
* }
*