fixed incorrect method name

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@559600 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Patrick Linskey 2007-07-25 20:48:05 +00:00
parent 7a6a81d713
commit 6b45d6ed96
1 changed files with 1 additions and 1 deletions

View File

@ -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);