Methods Summary |
---|
public void | addBatch()
realPreparedStatement.addBatch();
|
public void | clearParameters()
realPreparedStatement.clearParameters();
|
public boolean | execute()
Thread t = Thread.currentThread();
JDBCLogger.startLogSqlQuery(t, sql);
boolean b = realPreparedStatement.execute();
JDBCLogger.endLogSqlQuery(t, sql);
return b;
|
public java.sql.ResultSet | executeQuery()
Thread t = Thread.currentThread();
JDBCLogger.startLogSqlQuery(t, sql);
ResultSet r = realPreparedStatement.executeQuery();
JDBCLogger.endLogSqlQuery(t, sql);
return new ResultSetWrapper(r, this, sql);
|
public int | executeUpdate()
Thread t = Thread.currentThread();
JDBCLogger.startLogSqlQuery(t, sql);
int i = realPreparedStatement.executeUpdate();
JDBCLogger.endLogSqlQuery(t, sql);
return i;
|
public java.sql.ResultSetMetaData | getMetaData()
return realPreparedStatement.getMetaData();
|
public void | setArray(int i, java.sql.Array x)
if (x instanceof SQLArrayWrapper)
realPreparedStatement.setArray(i, ((SQLArrayWrapper) x).realArray);
else
realPreparedStatement.setArray(i, x);
|
public void | setAsciiStream(int parameterIndex, java.io.InputStream x, int length)
realPreparedStatement.setAsciiStream(parameterIndex, x, length);
|
public void | setBigDecimal(int parameterIndex, java.math.BigDecimal x)
realPreparedStatement.setBigDecimal(parameterIndex, x);
|
public void | setBinaryStream(int parameterIndex, java.io.InputStream x, int length)
realPreparedStatement.setBinaryStream(parameterIndex, x, length);
|
public void | setBlob(int i, java.sql.Blob x)
realPreparedStatement.setBlob(i, x);
|
public void | setBoolean(int parameterIndex, boolean x)
realPreparedStatement.setBoolean(parameterIndex, x);
|
public void | setByte(int parameterIndex, byte x)
realPreparedStatement.setByte(parameterIndex, x);
|
public void | setBytes(int parameterIndex, byte[] x)
realPreparedStatement.setBytes(parameterIndex, x);
|
public void | setCharacterStream(int parameterIndex, java.io.Reader reader, int length)
realPreparedStatement.setCharacterStream(parameterIndex, reader, length);
|
public void | setClob(int i, java.sql.Clob x)
realPreparedStatement.setClob(i, x);
|
public void | setDate(int parameterIndex, java.sql.Date x)
realPreparedStatement.setDate(parameterIndex, x);
|
public void | setDate(int parameterIndex, java.sql.Date x, java.util.Calendar cal)
realPreparedStatement.setDate(parameterIndex, x, cal);
|
public void | setDouble(int parameterIndex, double x)
realPreparedStatement.setDouble(parameterIndex, x);
|
public void | setFloat(int parameterIndex, float x)
realPreparedStatement.setFloat(parameterIndex, x);
|
public void | setInt(int parameterIndex, int x)
realPreparedStatement.setInt(parameterIndex, x);
|
public void | setLong(int parameterIndex, long x)
realPreparedStatement.setLong(parameterIndex, x);
|
public void | setNull(int parameterIndex, int sqlType)
realPreparedStatement.setNull(parameterIndex, sqlType);
|
public void | setNull(int paramIndex, int sqlType, java.lang.String typeName)
realPreparedStatement.setNull(paramIndex, sqlType, typeName);
|
public void | setObject(int parameterIndex, java.lang.Object x)
realPreparedStatement.setObject(parameterIndex, x);
|
public void | setObject(int parameterIndex, java.lang.Object x, int targetSqlType)
realPreparedStatement.setObject(parameterIndex, x, targetSqlType);
|
public void | setObject(int parameterIndex, java.lang.Object x, int targetSqlType, int scale)
realPreparedStatement.setObject(parameterIndex, x, targetSqlType, scale);
|
public void | setRef(int i, java.sql.Ref x)
realPreparedStatement.setRef(i, x);
|
public void | setShort(int parameterIndex, short x)
realPreparedStatement.setShort(parameterIndex, x);
|
public void | setString(int parameterIndex, java.lang.String x)
realPreparedStatement.setString(parameterIndex, x);
|
public void | setTime(int parameterIndex, java.sql.Time x)
realPreparedStatement.setTime(parameterIndex, x);
|
public void | setTime(int parameterIndex, java.sql.Time x, java.util.Calendar cal)
realPreparedStatement.setTime(parameterIndex, x, cal);
|
public void | setTimestamp(int parameterIndex, java.sql.Timestamp x)
realPreparedStatement.setTimestamp(parameterIndex, x);
|
public void | setTimestamp(int parameterIndex, java.sql.Timestamp x, java.util.Calendar cal)
realPreparedStatement.setTimestamp(parameterIndex, x, cal);
|
public void | setUnicodeStream(int parameterIndex, java.io.InputStream x, int length)
realPreparedStatement.setUnicodeStream(parameterIndex, x, length);
|