public class SQLite4JPreparedStatement extends SQLite4JStatement implements PreparedStatement
| Constructor and Description |
|---|
SQLite4JPreparedStatement(java.sql.PreparedStatement ps) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBatch() |
void |
clearParameters() |
boolean |
execute() |
ResultSet |
executeQuery() |
int |
executeUpdate() |
ResultSetMetaData |
getMetaData() |
void |
setBigDecimal(int parameterIndex,
BigDecimal x) |
void |
setBoolean(int parameterIndex,
boolean x) |
void |
setByte(int parameterIndex,
byte x) |
void |
setBytes(int parameterIndex,
byte[] x) |
void |
setDate(int parameterIndex,
Date x) |
void |
setDouble(int parameterIndex,
double x) |
void |
setInt(int parameterIndex,
int x) |
void |
setLong(int parameterIndex,
long x) |
void |
setNull(int parameterIndex,
int sqlType) |
void |
setNull(int paramIndex,
int sqlType,
java.lang.String typeName) |
void |
setObject(int parameterIndex,
java.lang.Object x) |
void |
setObject(int parameterIndex,
java.lang.Object x,
int targetSqlType) |
void |
setObject(int parameterIndex,
java.lang.Object x,
int targetSqlType,
int scale) |
void |
setShort(int parameterIndex,
short x) |
void |
setString(int parameterIndex,
java.lang.String x) |
void |
setTime(int parameterIndex,
Time x) |
void |
setTimestamp(int parameterIndex,
Timestamp x) |
addBatch, cancel, clearBatch, clearWarnings, close, execute, executeBatch, executeQuery, executeUpdate, getConnection, getFetchDirection, getFetchSize, getMaxRows, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetType, getUpdateCount, getWarnings, setCursorName, setFetchDirection, setFetchSize, setMaxRows, setQueryTimeoutclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddBatch, cancel, clearBatch, clearWarnings, close, execute, executeBatch, executeQuery, executeUpdate, getConnection, getFetchDirection, getFetchSize, getMaxRows, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetType, getUpdateCount, getWarnings, setCursorName, setFetchDirection, setFetchSize, setMaxRows, setQueryTimeoutpublic SQLite4JPreparedStatement(java.sql.PreparedStatement ps)
public ResultSet executeQuery() throws java.sql.SQLException
executeQuery in interface PreparedStatementjava.sql.SQLExceptionpublic int executeUpdate()
throws java.sql.SQLException
executeUpdate in interface PreparedStatementjava.sql.SQLExceptionpublic void setNull(int parameterIndex,
int sqlType)
throws java.sql.SQLException
setNull in interface PreparedStatementjava.sql.SQLExceptionpublic void setBoolean(int parameterIndex,
boolean x)
throws java.sql.SQLException
setBoolean in interface PreparedStatementjava.sql.SQLExceptionpublic void setByte(int parameterIndex,
byte x)
throws java.sql.SQLException
setByte in interface PreparedStatementjava.sql.SQLExceptionpublic void setShort(int parameterIndex,
short x)
throws java.sql.SQLException
setShort in interface PreparedStatementjava.sql.SQLExceptionpublic void setInt(int parameterIndex,
int x)
throws java.sql.SQLException
setInt in interface PreparedStatementjava.sql.SQLExceptionpublic void setLong(int parameterIndex,
long x)
throws java.sql.SQLException
setLong in interface PreparedStatementjava.sql.SQLExceptionpublic void setDouble(int parameterIndex,
double x)
throws java.sql.SQLException
setDouble in interface PreparedStatementjava.sql.SQLExceptionpublic void setBigDecimal(int parameterIndex,
BigDecimal x)
throws java.sql.SQLException
setBigDecimal in interface PreparedStatementjava.sql.SQLExceptionpublic void setString(int parameterIndex,
java.lang.String x)
throws java.sql.SQLException
setString in interface PreparedStatementjava.sql.SQLExceptionpublic void setBytes(int parameterIndex,
byte[] x)
throws java.sql.SQLException
setBytes in interface PreparedStatementjava.sql.SQLExceptionpublic void setDate(int parameterIndex,
Date x)
throws java.sql.SQLException
setDate in interface PreparedStatementjava.sql.SQLExceptionpublic void setTime(int parameterIndex,
Time x)
throws java.sql.SQLException
setTime in interface PreparedStatementjava.sql.SQLExceptionpublic void setTimestamp(int parameterIndex,
Timestamp x)
throws java.sql.SQLException
setTimestamp in interface PreparedStatementjava.sql.SQLExceptionpublic void clearParameters()
throws java.sql.SQLException
clearParameters in interface PreparedStatementjava.sql.SQLExceptionpublic void setObject(int parameterIndex,
java.lang.Object x,
int targetSqlType,
int scale)
throws java.sql.SQLException
setObject in interface PreparedStatementjava.sql.SQLExceptionpublic void setObject(int parameterIndex,
java.lang.Object x,
int targetSqlType)
throws java.sql.SQLException
setObject in interface PreparedStatementjava.sql.SQLExceptionpublic void setObject(int parameterIndex,
java.lang.Object x)
throws java.sql.SQLException
setObject in interface PreparedStatementjava.sql.SQLExceptionpublic boolean execute()
throws java.sql.SQLException
execute in interface PreparedStatementjava.sql.SQLExceptionpublic void addBatch()
throws java.sql.SQLException
addBatch in interface PreparedStatementjava.sql.SQLExceptionpublic ResultSetMetaData getMetaData() throws java.sql.SQLException
getMetaData in interface PreparedStatementjava.sql.SQLExceptionpublic void setNull(int paramIndex,
int sqlType,
java.lang.String typeName)
throws java.sql.SQLException
setNull in interface PreparedStatementjava.sql.SQLException