org.ofbiz.entity.jdbc
Class CursorStatement
java.lang.Object
org.ofbiz.entity.jdbc.AbstractCursorHandler
org.ofbiz.entity.jdbc.CursorStatement
- All Implemented Interfaces:
- java.lang.reflect.InvocationHandler
public class CursorStatement
- extends AbstractCursorHandler
Constructor Summary |
protected |
CursorStatement(java.sql.Statement stmt,
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.PreparedStatement |
newCursorPreparedStatement(java.sql.PreparedStatement pstmt,
java.lang.String cursorName,
int fetchSize)
|
static java.sql.Statement |
newCursorStatement(java.sql.Statement stmt,
java.lang.String cursorName,
int fetchSize)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
currentResultSet
protected java.sql.ResultSet currentResultSet
stmt
protected java.sql.Statement stmt
beganTransaction
protected boolean beganTransaction
autoCommit
protected boolean autoCommit
CursorStatement
protected CursorStatement(java.sql.Statement stmt,
java.lang.String cursorName,
int fetchSize)
throws GenericTransactionException,
java.sql.SQLException
- Throws:
GenericTransactionException
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
newCursorStatement
public static java.sql.Statement newCursorStatement(java.sql.Statement stmt,
java.lang.String cursorName,
int fetchSize)
throws java.lang.Exception
- Throws:
java.lang.Exception
newCursorPreparedStatement
public static java.sql.PreparedStatement newCursorPreparedStatement(java.sql.PreparedStatement pstmt,
java.lang.String cursorName,
int fetchSize)
throws java.lang.Exception
- Throws:
java.lang.Exception