From 6b45d6ed968f0e4d8aa1d71ae587ee8720cfc110 Mon Sep 17 00:00:00 2001 From: Patrick Linskey Date: Wed, 25 Jul 2007 20:48:05 +0000 Subject: [PATCH] fixed incorrect method name git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@559600 13f79535-47bb-0310-9956-ffa450edef68 --- openjpa-project/src/doc/manual/ref_guide_dbsetup.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openjpa-project/src/doc/manual/ref_guide_dbsetup.xml b/openjpa-project/src/doc/manual/ref_guide_dbsetup.xml index e02bb7608..b83dbb4d2 100644 --- a/openjpa-project/src/doc/manual/ref_guide_dbsetup.xml +++ b/openjpa-project/src/doc/manual/ref_guide_dbsetup.xml @@ -3265,7 +3265,7 @@ import org.apache.openjpa.persistence.jdbc.*; Query q = em.createQuery("select m from Magazine m where m.title = 'JDJ'"); OpenJPAQuery kq = OpenJPAPersistence.cast(q); JDBCFetchPlan fetch = (JDBCFetchPlan) kq.getFetchPlan(); -fetch.setFetchSize(20); +fetch.setFetchBatchSize(20); fetch.setResultSetType(ResultSet.TYPE_SCROLL_INSENSITIVE); fetch.setFetchDirection(ResultSet.FETCH_FORWARD); fetch.setLRSSize(JDBCFetchPlan.SIZE_LAST);