public interface PreparedStatement extends Statement
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, setQueryTimeout
ResultSet executeQuery() throws java.sql.SQLException
java.sql.SQLException
int executeUpdate() throws java.sql.SQLException
java.sql.SQLException
void setNull(int parameterIndex, int sqlType) throws java.sql.SQLException
java.sql.SQLException
void setBoolean(int parameterIndex, boolean x) throws java.sql.SQLException
java.sql.SQLException
void setByte(int parameterIndex, byte x) throws java.sql.SQLException
java.sql.SQLException
void setShort(int parameterIndex, short x) throws java.sql.SQLException
java.sql.SQLException
void setInt(int parameterIndex, int x) throws java.sql.SQLException
java.sql.SQLException
void setLong(int parameterIndex, long x) throws java.sql.SQLException
java.sql.SQLException
void setDouble(int parameterIndex, double x) throws java.sql.SQLException
java.sql.SQLException
void setBigDecimal(int parameterIndex, BigDecimal x) throws java.sql.SQLException
java.sql.SQLException
void setString(int parameterIndex, java.lang.String x) throws java.sql.SQLException
java.sql.SQLException
void setBytes(int parameterIndex, byte[] x) throws java.sql.SQLException
java.sql.SQLException
void setDate(int parameterIndex, Date x) throws java.sql.SQLException
java.sql.SQLException
void setTime(int parameterIndex, Time x) throws java.sql.SQLException
java.sql.SQLException
void setTimestamp(int parameterIndex, Timestamp x) throws java.sql.SQLException
java.sql.SQLException
void clearParameters() throws java.sql.SQLException
java.sql.SQLException
void setObject(int parameterIndex, java.lang.Object x, int targetSqlType, int scale) throws java.sql.SQLException
java.sql.SQLException
void setObject(int parameterIndex, java.lang.Object x, int targetSqlType) throws java.sql.SQLException
java.sql.SQLException
void setObject(int parameterIndex, java.lang.Object x) throws java.sql.SQLException
java.sql.SQLException
boolean execute() throws java.sql.SQLException
java.sql.SQLException
void addBatch() throws java.sql.SQLException
java.sql.SQLException
ResultSetMetaData getMetaData() throws java.sql.SQLException
java.sql.SQLException
void setNull(int paramIndex, int sqlType, java.lang.String typeName) throws java.sql.SQLException
java.sql.SQLException