Package org.apache.ofbiz.entity.jdbc
Class CursorResultSet
- java.lang.Object
-
- org.apache.ofbiz.entity.jdbc.AbstractCursorHandler
-
- org.apache.ofbiz.entity.jdbc.CursorResultSet
-
- All Implemented Interfaces:
java.lang.reflect.InvocationHandler
public class CursorResultSet extends AbstractCursorHandler
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
module
protected java.lang.String
query
protected java.sql.ResultSet
rs
protected java.sql.Statement
stmt
-
Fields inherited from class org.apache.ofbiz.entity.jdbc.AbstractCursorHandler
cursorName, fetchSize
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CursorResultSet(java.sql.Statement stmt, java.lang.String cursorName, int fetchSize)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
close()
java.lang.Object
invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
static java.sql.ResultSet
newCursorResultSet(java.sql.Statement stmt, java.lang.String cursorName, int fetchSize)
protected boolean
next()
-
Methods inherited from class org.apache.ofbiz.entity.jdbc.AbstractCursorHandler
getCursorName, getFetchSize, invoke, newHandler, setCursorName, setFetchSize
-
-
-
-
Method Detail
-
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
-
next
protected boolean next() throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
close
protected void close() throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
newCursorResultSet
public static java.sql.ResultSet newCursorResultSet(java.sql.Statement stmt, java.lang.String cursorName, int fetchSize) throws java.sql.SQLException, java.lang.Exception
- Throws:
java.sql.SQLException
java.lang.Exception
-
-