public abstract class BaseAxionStatement
extends java.lang.Object
implements java.sql.Statement
Statement
implementation.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, wait
addBatch, 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, setQueryTimeout
protected java.util.ArrayList _batchContext
protected java.sql.SQLWarning _warning
protected BaseAxionStatement(AxionConnection conn) throws java.sql.SQLException
java.sql.SQLException
public void close() throws java.sql.SQLException
close
in interface java.lang.AutoCloseable
close
in interface java.sql.Statement
java.sql.SQLException
public java.sql.Connection getConnection() throws java.sql.SQLException
getConnection
in interface java.sql.Statement
java.sql.SQLException
public int getMaxRows() throws java.sql.SQLException
getMaxRows
in interface java.sql.Statement
java.sql.SQLException
public void setMaxRows(int max) throws java.sql.SQLException
setMaxRows
in interface java.sql.Statement
java.sql.SQLException
protected final void assertOpen() throws java.sql.SQLException
java.sql.SQLException
protected final void clearConnection()
protected void clearCurrentResult() throws java.sql.SQLException
java.sql.SQLException
protected int clearCurrentUpdateCount()
protected void closeCurrentResultSet() throws java.sql.SQLException
java.sql.SQLException
protected final AxionConnection getAxionConnection() throws java.sql.SQLException
java.sql.SQLException
protected final AxionResultSet getCurrentResultSet()
protected final int getCurrentUpdateCount()
protected final Database getDatabase() throws AxionException
AxionException
protected final boolean hasCurrentResultSet()
public AxionCommand parseCommand(java.lang.String sql) throws java.sql.SQLException
java.sql.SQLException
protected 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.SQLException
protected final void clearBatchContext()
protected final java.util.Iterator getBatchContext()
protected final int getBatchCount()