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