public class AxionPreparedStatement extends AxionStatement implements java.sql.Statement, java.sql.PreparedStatement
PreparedStatement implementation.| Modifier and Type | Class and Description |
|---|---|
protected class |
AxionPreparedStatement.Parameters |
_batchContext, _warning| Modifier | Constructor and Description |
|---|---|
protected |
AxionPreparedStatement(AxionConnection conn,
java.lang.String sql) |
protected |
AxionPreparedStatement(AxionConnection conn,
java.lang.String sql,
int resultSetType,
int resultSetConcurrency) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBatch() |
void |
addBatch(java.lang.String sql) |
void |
clearParameters() |
void |
close() |
void |
closeOnCompletion() |
boolean |
execute() |
boolean |
execute(java.lang.String sql) |
int[] |
executeBatch() |
java.sql.ResultSet |
executeQuery() |
java.sql.ResultSet |
executeQuery(java.lang.String sql) |
int |
executeUpdate() |
int |
executeUpdate(java.lang.String sql) |
java.sql.ResultSetMetaData |
getMetaData() |
java.sql.ParameterMetaData |
getParameterMetaData()
Currently unsupported.
|
boolean |
isCloseOnCompletion() |
void |
setArray(int i,
java.sql.Array arr) |
void |
setAsciiStream(int arg0,
java.io.InputStream arg1) |
void |
setAsciiStream(int n,
java.io.InputStream in,
int length) |
void |
setAsciiStream(int arg0,
java.io.InputStream arg1,
long arg2) |
void |
setBigDecimal(int i,
java.math.BigDecimal big) |
void |
setBinaryStream(int arg0,
java.io.InputStream arg1) |
void |
setBinaryStream(int n,
java.io.InputStream in,
int length) |
void |
setBinaryStream(int arg0,
java.io.InputStream arg1,
long arg2) |
void |
setBlob(int i,
java.sql.Blob blob) |
void |
setBlob(int arg0,
java.io.InputStream arg1) |
void |
setBlob(int arg0,
java.io.InputStream arg1,
long arg2) |
void |
setBoolean(int i,
boolean bool) |
void |
setByte(int i,
byte b) |
void |
setBytes(int i,
byte[] bytes) |
void |
setCharacterStream(int arg0,
java.io.Reader arg1) |
void |
setCharacterStream(int n,
java.io.Reader reader,
int length) |
void |
setCharacterStream(int arg0,
java.io.Reader arg1,
long arg2) |
void |
setClob(int i,
java.sql.Clob clob) |
void |
setClob(int arg0,
java.io.Reader arg1) |
void |
setClob(int arg0,
java.io.Reader arg1,
long arg2) |
void |
setDate(int i,
java.sql.Date date) |
void |
setDate(int i,
java.sql.Date date,
java.util.Calendar cal) |
void |
setDouble(int i,
double d) |
void |
setEscapeProcessing(boolean enable) |
void |
setFloat(int i,
float f) |
void |
setInt(int i,
int value) |
void |
setLong(int i,
long l) |
void |
setNCharacterStream(int arg0,
java.io.Reader arg1) |
void |
setNCharacterStream(int arg0,
java.io.Reader arg1,
long arg2) |
void |
setNClob(int arg0,
java.sql.NClob arg1) |
void |
setNClob(int arg0,
java.io.Reader arg1) |
void |
setNClob(int arg0,
java.io.Reader arg1,
long arg2) |
void |
setNString(int arg0,
java.lang.String arg1) |
void |
setNull(int i,
int sqlType) |
void |
setNull(int i,
int sqlType,
java.lang.String typeName) |
void |
setObject(int i,
java.lang.Object o) |
void |
setObject(int i,
java.lang.Object o,
int targetSqlType) |
void |
setObject(int i,
java.lang.Object o,
int targetSqlType,
int scale) |
void |
setRef(int i,
java.sql.Ref ref) |
void |
setRowId(int arg0,
java.sql.RowId arg1) |
void |
setShort(int i,
short s) |
void |
setSQLXML(int arg0,
java.sql.SQLXML arg1) |
void |
setString(int i,
java.lang.String str) |
void |
setTime(int i,
java.sql.Time time) |
void |
setTime(int i,
java.sql.Time time,
java.util.Calendar cal) |
void |
setTimestamp(int i,
java.sql.Timestamp timestamp) |
void |
setTimestamp(int i,
java.sql.Timestamp timestamp,
java.util.Calendar cal) |
void |
setUnicodeStream(int n,
java.io.InputStream in,
int length)
Deprecated.
See
PreparedStatement.setUnicodeStream(int, java.io.InputStream, int) |
void |
setURL(int i,
java.net.URL url) |
addWarning, cancel, clearBatch, clearWarnings, execute, execute, execute, execute, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMoreResults, getMoreResults, getParentLogger, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isPoolable, isWrapperFor, setCursorName, setFetchDirection, setFetchSize, setMaxFieldSize, setPoolable, setQueryTimeout, unwrapaddToBatchContext, assertOpen, clearBatchContext, clearConnection, clearCurrentResult, clearCurrentUpdateCount, closeCurrentResultSet, getAxionConnection, getBatchContext, getBatchCount, getConnection, getCurrentResultSet, getCurrentUpdateCount, getDatabase, getMaxRows, hasCurrentResultSet, parseCommand, setCurrentResult, setCurrentResultSet, setCurrentUpdateCount, setMaxRowsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteLargeUpdate, setObject, setObjectcancel, clearBatch, clearWarnings, execute, execute, execute, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isPoolable, setCursorName, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeoutprotected AxionPreparedStatement(AxionConnection conn, java.lang.String sql) throws java.sql.SQLException
java.sql.SQLExceptionprotected AxionPreparedStatement(AxionConnection conn, java.lang.String sql, int resultSetType, int resultSetConcurrency) throws java.sql.SQLException
java.sql.SQLExceptionpublic void close()
throws java.sql.SQLException
close in interface java.lang.AutoCloseableclose in interface java.sql.Statementclose in class BaseAxionStatementjava.sql.SQLExceptionpublic boolean execute(java.lang.String sql)
throws java.sql.SQLException
execute in interface java.sql.Statementexecute in class AxionStatementjava.sql.SQLExceptionpublic java.sql.ResultSet executeQuery(java.lang.String sql)
throws java.sql.SQLException
executeQuery in interface java.sql.StatementexecuteQuery in class AxionStatementjava.sql.SQLExceptionpublic int executeUpdate(java.lang.String sql)
throws java.sql.SQLException
executeUpdate in interface java.sql.StatementexecuteUpdate in class AxionStatementjava.sql.SQLExceptionpublic void addBatch(java.lang.String sql)
throws java.sql.SQLException
addBatch in interface java.sql.StatementaddBatch in class AxionStatementjava.sql.SQLExceptionpublic void addBatch()
throws java.sql.SQLException
addBatch in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setEscapeProcessing(boolean enable)
throws java.sql.SQLException
setEscapeProcessing in interface java.sql.StatementsetEscapeProcessing in class AxionStatementjava.sql.SQLExceptionpublic void clearParameters()
throws java.sql.SQLException
clearParameters in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic int[] executeBatch()
throws java.sql.SQLException
executeBatch in interface java.sql.StatementexecuteBatch in class AxionStatementjava.sql.SQLExceptionpublic boolean execute()
throws java.sql.SQLException
execute in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic java.sql.ResultSet executeQuery()
throws java.sql.SQLException
executeQuery in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic int executeUpdate()
throws java.sql.SQLException
executeUpdate in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic java.sql.ResultSetMetaData getMetaData()
throws java.sql.SQLException
getMetaData in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setArray(int i,
java.sql.Array arr)
throws java.sql.SQLException
setArray in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setAsciiStream(int n,
java.io.InputStream in,
int length)
throws java.sql.SQLException
setAsciiStream in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setBigDecimal(int i,
java.math.BigDecimal big)
throws java.sql.SQLException
setBigDecimal in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setBinaryStream(int n,
java.io.InputStream in,
int length)
throws java.sql.SQLException
setBinaryStream in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setBlob(int i,
java.sql.Blob blob)
throws java.sql.SQLException
setBlob in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setBoolean(int i,
boolean bool)
throws java.sql.SQLException
setBoolean in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setByte(int i,
byte b)
throws java.sql.SQLException
setByte in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setBytes(int i,
byte[] bytes)
throws java.sql.SQLException
setBytes in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setCharacterStream(int n,
java.io.Reader reader,
int length)
throws java.sql.SQLException
setCharacterStream in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setClob(int i,
java.sql.Clob clob)
throws java.sql.SQLException
setClob in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setDate(int i,
java.sql.Date date)
throws java.sql.SQLException
setDate in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setDate(int i,
java.sql.Date date,
java.util.Calendar cal)
throws java.sql.SQLException
setDate in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setDouble(int i,
double d)
throws java.sql.SQLException
setDouble in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setFloat(int i,
float f)
throws java.sql.SQLException
setFloat in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setInt(int i,
int value)
throws java.sql.SQLException
setInt in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setLong(int i,
long l)
throws java.sql.SQLException
setLong in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setNull(int i,
int sqlType)
throws java.sql.SQLException
setNull in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setNull(int i,
int sqlType,
java.lang.String typeName)
throws java.sql.SQLException
setNull in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setObject(int i,
java.lang.Object o)
throws java.sql.SQLException
setObject in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setObject(int i,
java.lang.Object o,
int targetSqlType)
throws java.sql.SQLException
setObject in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setObject(int i,
java.lang.Object o,
int targetSqlType,
int scale)
throws java.sql.SQLException
setObject in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setRef(int i,
java.sql.Ref ref)
throws java.sql.SQLException
setRef in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setShort(int i,
short s)
throws java.sql.SQLException
setShort in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setString(int i,
java.lang.String str)
throws java.sql.SQLException
setString in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setTime(int i,
java.sql.Time time)
throws java.sql.SQLException
setTime in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setTime(int i,
java.sql.Time time,
java.util.Calendar cal)
throws java.sql.SQLException
setTime in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setTimestamp(int i,
java.sql.Timestamp timestamp)
throws java.sql.SQLException
setTimestamp in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setTimestamp(int i,
java.sql.Timestamp timestamp,
java.util.Calendar cal)
throws java.sql.SQLException
setTimestamp in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setURL(int i,
java.net.URL url)
throws java.sql.SQLException
setURL in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setUnicodeStream(int n,
java.io.InputStream in,
int length)
throws java.sql.SQLException
PreparedStatement.setUnicodeStream(int, java.io.InputStream, int)setUnicodeStream in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic java.sql.ParameterMetaData getParameterMetaData()
throws java.sql.SQLException
getParameterMetaData in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setAsciiStream(int arg0,
java.io.InputStream arg1)
throws java.sql.SQLException
setAsciiStream in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setAsciiStream(int arg0,
java.io.InputStream arg1,
long arg2)
throws java.sql.SQLException
setAsciiStream in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setBinaryStream(int arg0,
java.io.InputStream arg1)
throws java.sql.SQLException
setBinaryStream in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setBinaryStream(int arg0,
java.io.InputStream arg1,
long arg2)
throws java.sql.SQLException
setBinaryStream in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setBlob(int arg0,
java.io.InputStream arg1)
throws java.sql.SQLException
setBlob in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setBlob(int arg0,
java.io.InputStream arg1,
long arg2)
throws java.sql.SQLException
setBlob in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setCharacterStream(int arg0,
java.io.Reader arg1)
throws java.sql.SQLException
setCharacterStream in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setCharacterStream(int arg0,
java.io.Reader arg1,
long arg2)
throws java.sql.SQLException
setCharacterStream in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setClob(int arg0,
java.io.Reader arg1)
throws java.sql.SQLException
setClob in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setClob(int arg0,
java.io.Reader arg1,
long arg2)
throws java.sql.SQLException
setClob in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setNCharacterStream(int arg0,
java.io.Reader arg1)
throws java.sql.SQLException
setNCharacterStream in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setNCharacterStream(int arg0,
java.io.Reader arg1,
long arg2)
throws java.sql.SQLException
setNCharacterStream in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setNClob(int arg0,
java.sql.NClob arg1)
throws java.sql.SQLException
setNClob in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setNClob(int arg0,
java.io.Reader arg1)
throws java.sql.SQLException
setNClob in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setNClob(int arg0,
java.io.Reader arg1,
long arg2)
throws java.sql.SQLException
setNClob in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setNString(int arg0,
java.lang.String arg1)
throws java.sql.SQLException
setNString in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setRowId(int arg0,
java.sql.RowId arg1)
throws java.sql.SQLException
setRowId in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setSQLXML(int arg0,
java.sql.SQLXML arg1)
throws java.sql.SQLException
setSQLXML in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic boolean isCloseOnCompletion()
throws java.sql.SQLException
isCloseOnCompletion in interface java.sql.StatementisCloseOnCompletion in class AxionStatementjava.sql.SQLExceptionpublic void closeOnCompletion()
throws java.sql.SQLException
closeOnCompletion in interface java.sql.StatementcloseOnCompletion in class AxionStatementjava.sql.SQLException