Permalink
Browse files

Disable FetchAhead in Ebean documentation

To prevent SQLexception
fixes #877
  • Loading branch information...
agterdenbos committed Mar 20, 2013
1 parent e260969 commit 54d7ef7264285ef0d24c66a8e15175636c17af50
Showing with 2 additions and 1 deletion.
  1. +2 −1 documentation/manual/javaGuide/main/sql/JavaEbean.md
@@ -110,6 +110,7 @@ List<Task> tasks = find.where()
.ilike("name", "%coco%")
.orderBy("dueDate asc")
.findPagingList(25)
+ .setFetchAhead(false)
.getPage(1);
```
@@ -153,4 +154,4 @@ public static Result save() {
}
```
-> **Next:** [[Integrating with JPA | JavaJPA]]
+> **Next:** [[Integrating with JPA | JavaJPA]]

0 comments on commit 54d7ef7

Please sign in to comment.