public abstract class JDBC3PreparedStatement extends CorePreparedStatement
batchQueryCount, columnCount, paramCountbatch, batchPos, conn, db, metadata, pointer, resultsWaiting, rs, sqlCLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFOSQLITE_ABORT, SQLITE_AUTH, SQLITE_BLOB, SQLITE_BUSY, SQLITE_CANTOPEN, SQLITE_CONSTRAINT, SQLITE_CORRUPT, SQLITE_DONE, SQLITE_EMPTY, SQLITE_ERROR, SQLITE_FLOAT, SQLITE_FULL, SQLITE_INTEGER, SQLITE_INTERNAL, SQLITE_INTERRUPT, SQLITE_IOERR, SQLITE_LOCKED, SQLITE_MISMATCH, SQLITE_MISUSE, SQLITE_NOLFS, SQLITE_NOMEM, SQLITE_NOTFOUND, SQLITE_NULL, SQLITE_OK, SQLITE_PERM, SQLITE_PROTOCOL, SQLITE_READONLY, SQLITE_ROW, SQLITE_SCHEMA, SQLITE_TEXT, SQLITE_TOOBIG| Modifier | Constructor and Description |
|---|---|
protected |
JDBC3PreparedStatement(SQLiteConnection conn,
String sql) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBatch() |
void |
addBatch(String sql) |
void |
clearParameters() |
boolean |
execute() |
boolean |
execute(String sql) |
ResultSet |
executeQuery() |
ResultSet |
executeQuery(String sql) |
int |
executeUpdate() |
int |
executeUpdate(String sql) |
ResultSetMetaData |
getMetaData() |
String |
getParameterClassName(int param) |
int |
getParameterCount() |
ParameterMetaData |
getParameterMetaData() |
int |
getParameterMode(int pos) |
int |
getParameterType(int pos) |
String |
getParameterTypeName(int pos) |
int |
getPrecision(int pos) |
int |
getScale(int pos) |
Statement |
getStatement() |
int |
isNullable(int pos) |
boolean |
isSigned(int pos) |
void |
setArray(int i,
Array x) |
void |
setAsciiStream(int pos,
InputStream istream,
int length) |
void |
setBigDecimal(int pos,
BigDecimal value) |
void |
setBinaryStream(int pos,
InputStream istream,
int length) |
void |
setBlob(int i,
Blob x) |
void |
setBoolean(int pos,
boolean value) |
void |
setByte(int pos,
byte value) |
void |
setBytes(int pos,
byte[] value) |
void |
setCharacterStream(int pos,
Reader reader,
int length) |
void |
setClob(int i,
Clob x) |
void |
setDate(int pos,
Date x) |
void |
setDate(int pos,
Date x,
Calendar cal) |
void |
setDouble(int pos,
double value) |
void |
setFloat(int pos,
float value) |
void |
setInt(int pos,
int value) |
void |
setLong(int pos,
long value) |
void |
setNull(int pos,
int u1) |
void |
setNull(int pos,
int u1,
String u2) |
void |
setObject(int pos,
Object value) |
void |
setObject(int p,
Object v,
int t) |
void |
setObject(int p,
Object v,
int t,
int s) |
void |
setRef(int i,
Ref x) |
void |
setShort(int pos,
short value) |
void |
setString(int pos,
String value) |
void |
setTime(int pos,
Time x) |
void |
setTime(int pos,
Time x,
Calendar cal) |
void |
setTimestamp(int pos,
Timestamp x) |
void |
setTimestamp(int pos,
Timestamp x,
Calendar cal) |
void |
setUnicodeStream(int pos,
InputStream istream,
int length) |
void |
setURL(int pos,
URL x) |
protected SQLException |
unused() |
batch, checkParameters, clearBatch, executeBatch, finalize, getUpdateCount, setDateByMillisecondsclose, closeOnCompletion, isClosed, isCloseOnCompletion, isPoolable, isWrapperFor, setPoolable, unwrapcancel, clearWarnings, execute, execute, execute, executeQuery, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getWarnings, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeoutcheckOpen, exec, exec, internalCloseclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancel, 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, getWarnings, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setQueryTimeoutprotected JDBC3PreparedStatement(SQLiteConnection conn, String sql) throws SQLException
SQLExceptionpublic void clearParameters()
throws SQLException
SQLExceptionPreparedStatement.clearParameters()public boolean execute()
throws SQLException
SQLExceptionPreparedStatement.execute()public ResultSet executeQuery() throws SQLException
SQLExceptionPreparedStatement.executeQuery()public int executeUpdate()
throws SQLException
SQLExceptionPreparedStatement.executeUpdate()public void addBatch()
throws SQLException
SQLExceptionPreparedStatement.addBatch()public ParameterMetaData getParameterMetaData()
PreparedStatement.getParameterMetaData()public int getParameterCount()
throws SQLException
SQLExceptionParameterMetaData.getParameterCount()public String getParameterClassName(int param) throws SQLException
SQLExceptionParameterMetaData.getParameterClassName(int)public String getParameterTypeName(int pos)
public int getParameterType(int pos)
ParameterMetaData.getParameterType(int)public int getParameterMode(int pos)
ParameterMetaData.getParameterMode(int)public int getPrecision(int pos)
ParameterMetaData.getPrecision(int)public int getScale(int pos)
ParameterMetaData.getScale(int)public int isNullable(int pos)
ParameterMetaData.isNullable(int)public boolean isSigned(int pos)
ParameterMetaData.isSigned(int)public Statement getStatement()
public void setBigDecimal(int pos,
BigDecimal value)
throws SQLException
SQLExceptionPreparedStatement.setBigDecimal(int, java.math.BigDecimal)public void setBinaryStream(int pos,
InputStream istream,
int length)
throws SQLException
SQLExceptionPreparedStatement.setBinaryStream(int, java.io.InputStream, int)public void setAsciiStream(int pos,
InputStream istream,
int length)
throws SQLException
SQLExceptionPreparedStatement.setAsciiStream(int, java.io.InputStream, int)public void setUnicodeStream(int pos,
InputStream istream,
int length)
throws SQLException
public void setBoolean(int pos,
boolean value)
throws SQLException
SQLExceptionPreparedStatement.setBoolean(int, boolean)public void setByte(int pos,
byte value)
throws SQLException
SQLExceptionPreparedStatement.setByte(int, byte)public void setBytes(int pos,
byte[] value)
throws SQLException
SQLExceptionPreparedStatement.setBytes(int, byte[])public void setDouble(int pos,
double value)
throws SQLException
SQLExceptionPreparedStatement.setDouble(int, double)public void setFloat(int pos,
float value)
throws SQLException
SQLExceptionPreparedStatement.setFloat(int, float)public void setInt(int pos,
int value)
throws SQLException
SQLExceptionPreparedStatement.setInt(int, int)public void setLong(int pos,
long value)
throws SQLException
SQLExceptionPreparedStatement.setLong(int, long)public void setNull(int pos,
int u1)
throws SQLException
SQLExceptionPreparedStatement.setNull(int, int)public void setNull(int pos,
int u1,
String u2)
throws SQLException
SQLExceptionPreparedStatement.setNull(int, int, java.lang.String)public void setObject(int pos,
Object value)
throws SQLException
SQLExceptionPreparedStatement.setObject(int, java.lang.Object)public void setObject(int p,
Object v,
int t)
throws SQLException
SQLExceptionPreparedStatement.setObject(int, java.lang.Object, int)public void setObject(int p,
Object v,
int t,
int s)
throws SQLException
SQLExceptionPreparedStatement.setObject(int, java.lang.Object, int, int)public void setShort(int pos,
short value)
throws SQLException
SQLExceptionPreparedStatement.setShort(int, short)public void setString(int pos,
String value)
throws SQLException
SQLExceptionPreparedStatement.setString(int, java.lang.String)public void setCharacterStream(int pos,
Reader reader,
int length)
throws SQLException
SQLExceptionPreparedStatement.setCharacterStream(int, java.io.Reader, int)public void setDate(int pos,
Date x)
throws SQLException
SQLExceptionPreparedStatement.setDate(int, java.sql.Date)public void setDate(int pos,
Date x,
Calendar cal)
throws SQLException
public void setTime(int pos,
Time x)
throws SQLException
SQLExceptionPreparedStatement.setTime(int, java.sql.Time)public void setTime(int pos,
Time x,
Calendar cal)
throws SQLException
public void setTimestamp(int pos,
Timestamp x)
throws SQLException
SQLExceptionPreparedStatement.setTimestamp(int, java.sql.Timestamp)public void setTimestamp(int pos,
Timestamp x,
Calendar cal)
throws SQLException
public ResultSetMetaData getMetaData() throws SQLException
SQLExceptionPreparedStatement.getMetaData()protected SQLException unused()
unused in class JDBC3Statementpublic void setArray(int i,
Array x)
throws SQLException
SQLExceptionpublic void setBlob(int i,
Blob x)
throws SQLException
SQLExceptionpublic void setClob(int i,
Clob x)
throws SQLException
SQLExceptionpublic void setRef(int i,
Ref x)
throws SQLException
SQLExceptionpublic void setURL(int pos,
URL x)
throws SQLException
SQLExceptionpublic boolean execute(String sql) throws SQLException
execute in interface Statementexecute in class JDBC3StatementSQLExceptionorg.sqlite.core.CoreStatement#execute(java.lang.String)public int executeUpdate(String sql) throws SQLException
executeUpdate in interface StatementexecuteUpdate in class JDBC3StatementSQLExceptionorg.sqlite.core.CoreStatement#executeUpdate(java.lang.String)public ResultSet executeQuery(String sql) throws SQLException
executeQuery in interface StatementexecuteQuery in class JDBC3StatementSQLExceptionorg.sqlite.core.CoreStatement#executeQuery(java.lang.String)public void addBatch(String sql) throws SQLException
addBatch in interface StatementaddBatch in class JDBC3StatementSQLExceptionorg.sqlite.core.CoreStatement#addBatch(java.lang.String)Copyright © 2017. All rights reserved.