org.ofbiz.entity.jdbc
Class CursorResultSet
java.lang.Object
org.ofbiz.entity.jdbc.AbstractCursorHandler
org.ofbiz.entity.jdbc.CursorResultSet
- All Implemented Interfaces:
- java.lang.reflect.InvocationHandler
public class CursorResultSet
- extends AbstractCursorHandler
Field Summary |
protected java.lang.String |
query
|
protected java.sql.ResultSet |
rs
|
protected java.sql.Statement |
stmt
|
Constructor Summary |
protected |
CursorResultSet(java.sql.Statement stmt,
java.lang.String cursorName,
int fetchSize)
|
Method Summary |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rs
protected java.sql.ResultSet rs
stmt
protected java.sql.Statement stmt
query
protected java.lang.String query
CursorResultSet
protected CursorResultSet(java.sql.Statement stmt,
java.lang.String cursorName,
int fetchSize)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
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