Package org.apache.ofbiz.entity.jdbc
Class CursorStatement
- java.lang.Object
-
- org.apache.ofbiz.entity.jdbc.AbstractCursorHandler
-
- org.apache.ofbiz.entity.jdbc.CursorStatement
-
- All Implemented Interfaces:
java.lang.reflect.InvocationHandler
public class CursorStatement extends AbstractCursorHandler
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
autoCommit
protected boolean
beganTransaction
protected java.sql.ResultSet
currentResultSet
static java.lang.String
module
protected java.sql.Statement
stmt
-
Fields inherited from class org.apache.ofbiz.entity.jdbc.AbstractCursorHandler
cursorName, fetchSize
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CursorStatement(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 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 org.apache.ofbiz.entity.jdbc.AbstractCursorHandler
getCursorName, getFetchSize, invoke, newHandler, setCursorName, setFetchSize
-
-
-
-
Constructor Detail
-
CursorStatement
protected CursorStatement(java.sql.Statement stmt, java.lang.String cursorName, int fetchSize) throws GenericTransactionException, java.sql.SQLException
- Throws:
GenericTransactionException
java.sql.SQLException
-
-
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
-
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
-
-