A base delegating implementation of
PreparedStatement
.
All of the methods from the
PreparedStatement
interface
simply check to see that the
PreparedStatement
is active,
and call the corresponding method on the "delegate"
provided in my constructor.
Extends AbandonedTrace to implement Statement tracking and
logging of code which created the Statement. Tracking the
Statement ensures that the Connection which created it can
close any open Statement's on Connection close.
clearParameters
public void clearParameters()
throws SQLException
setBoolean
public void setBoolean(int parameterIndex,
boolean x)
throws SQLException
setByte
public void setByte(int parameterIndex,
byte x)
throws SQLException
setBytes
public void setBytes(int parameterIndex,
byte[] x)
throws SQLException
setCharacterStream
public void setCharacterStream(int parameterIndex,
Reader reader,
int length)
throws SQLException
setDouble
public void setDouble(int parameterIndex,
double x)
throws SQLException
setFloat
public void setFloat(int parameterIndex,
float x)
throws SQLException
setInt
public void setInt(int parameterIndex,
int x)
throws SQLException
setLong
public void setLong(int parameterIndex,
long x)
throws SQLException
setNull
public void setNull(int parameterIndex,
int sqlType)
throws SQLException
setNull
public void setNull(int paramIndex,
int sqlType,
java.lang.String typeName)
throws SQLException
setObject
public void setObject(int parameterIndex,
Object x,
int targetSqlType)
throws SQLException
setObject
public void setObject(int parameterIndex,
Object x,
int targetSqlType,
int scale)
throws SQLException
setShort
public void setShort(int parameterIndex,
short x)
throws SQLException
setString
public void setString(int parameterIndex,
java.lang.String x)
throws SQLException