public abstract class BaseAxionStatement
extends java.lang.Object
implements java.sql.Statement
Statementimplementation.| Modifier and Type | Field and Description |
|---|---|
protected java.util.ArrayList |
_batchContext |
protected java.sql.SQLWarning |
_warning |
| Modifier | Constructor and Description |
|---|---|
protected |
BaseAxionStatement(AxionConnection conn) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addToBatchContext(java.lang.Object obj) |
protected void |
assertOpen() |
protected void |
clearBatchContext() |
protected void |
clearConnection() |
protected void |
clearCurrentResult() |
protected int |
clearCurrentUpdateCount() |
void |
close() |
protected void |
closeCurrentResultSet() |
protected AxionConnection |
getAxionConnection() |
protected java.util.Iterator |
getBatchContext() |
protected int |
getBatchCount() |
java.sql.Connection |
getConnection() |
protected AxionResultSet |
getCurrentResultSet() |
protected int |
getCurrentUpdateCount() |
protected Database |
getDatabase() |
int |
getMaxRows() |
protected boolean |
hasCurrentResultSet() |
AxionCommand |
parseCommand(java.lang.String sql) |
protected void |
setCurrentResult(boolean isrset,
AxionCommand cmd) |
protected void |
setCurrentResultSet(AxionResultSet rset) |
protected void |
setCurrentUpdateCount(int count) |
void |
setMaxRows(int max) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddBatch, cancel, clearBatch, clearWarnings, closeOnCompletion, execute, execute, execute, execute, executeBatch, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getFetchDirection, getFetchSize, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getMaxFieldSize, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setPoolable, setQueryTimeoutprotected java.util.ArrayList _batchContext
protected java.sql.SQLWarning _warning
protected BaseAxionStatement(AxionConnection conn) throws java.sql.SQLException
java.sql.SQLExceptionpublic void close()
throws java.sql.SQLException
close in interface java.lang.AutoCloseableclose in interface java.sql.Statementjava.sql.SQLExceptionpublic java.sql.Connection getConnection()
throws java.sql.SQLException
getConnection in interface java.sql.Statementjava.sql.SQLExceptionpublic int getMaxRows()
throws java.sql.SQLException
getMaxRows in interface java.sql.Statementjava.sql.SQLExceptionpublic void setMaxRows(int max)
throws java.sql.SQLException
setMaxRows in interface java.sql.Statementjava.sql.SQLExceptionprotected final void assertOpen()
throws java.sql.SQLException
java.sql.SQLExceptionprotected final void clearConnection()
protected void clearCurrentResult()
throws java.sql.SQLException
java.sql.SQLExceptionprotected int clearCurrentUpdateCount()
protected void closeCurrentResultSet()
throws java.sql.SQLException
java.sql.SQLExceptionprotected final AxionConnection getAxionConnection() throws java.sql.SQLException
java.sql.SQLExceptionprotected final AxionResultSet getCurrentResultSet()
protected final int getCurrentUpdateCount()
protected final Database getDatabase() throws AxionException
AxionExceptionprotected final boolean hasCurrentResultSet()
public AxionCommand parseCommand(java.lang.String sql) throws java.sql.SQLException
java.sql.SQLExceptionprotected void setCurrentResult(boolean isrset,
AxionCommand cmd)
protected void setCurrentResultSet(AxionResultSet rset)
rset - the non- null instance to set current ResultSet
toclearCurrentResult()protected final void setCurrentUpdateCount(int count)
protected final void addToBatchContext(java.lang.Object obj)
throws java.sql.SQLException
java.sql.SQLExceptionprotected final void clearBatchContext()
protected final java.util.Iterator getBatchContext()
protected final int getBatchCount()