mirror of https://github.com/apache/openjpa.git
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:
parent
7a6a81d713
commit
6b45d6ed96
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue