org.ofbiz.entity.jdbc
Class CursorConnection

java.lang.Object
  extended by org.ofbiz.entity.jdbc.AbstractCursorHandler
      extended by org.ofbiz.entity.jdbc.CursorConnection
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public class CursorConnection
extends AbstractCursorHandler


Field Summary
protected  java.sql.Connection con
           
 
Fields inherited from class org.ofbiz.entity.jdbc.AbstractCursorHandler
cursorName, fetchSize
 
Constructor Summary
protected CursorConnection(java.sql.Connection con, java.lang.String cursorName, int fetchSize)
           
 
Method Summary
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
static java.sql.Connection newCursorConnection(java.sql.Connection con, java.lang.String cursorName, int pageSize)
           
 
Methods inherited from class org.ofbiz.entity.jdbc.AbstractCursorHandler
getCursorName, getFetchSize, invoke, newHandler, setCursorName, setFetchSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

con

protected java.sql.Connection con
Constructor Detail

CursorConnection

protected CursorConnection(java.sql.Connection con,
                           java.lang.String cursorName,
                           int fetchSize)
Method Detail

newCursorConnection

public static java.sql.Connection newCursorConnection(java.sql.Connection con,
                                                      java.lang.String cursorName,
                                                      int pageSize)
                                               throws java.lang.Exception
Throws:
java.lang.Exception

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Throws:
java.lang.Throwable