Methods Summary |
---|
public void | addBatch(java.lang.String sql)
realStatement.addBatch(sql);
lastSql = sql;
|
public void | cancel()
realStatement.cancel();
|
public void | clearBatch()
realStatement.clearBatch();
|
public void | clearWarnings()
realStatement.clearWarnings();
|
public void | close()
realStatement.close();
|
public boolean | execute(java.lang.String sql)
Thread t = Thread.currentThread();
JDBCLogger.startLogSqlQuery(t, sql);
boolean b = realStatement.execute(sql);
JDBCLogger.endLogSqlQuery(t, sql);
lastSql = sql;
return b;
|
public int[] | executeBatch()
Thread t = Thread.currentThread();
JDBCLogger.startLogSqlQuery(t, "batch");
int[] i = realStatement.executeBatch();
JDBCLogger.endLogSqlQuery(t, "batch");
return i;
|
public java.sql.ResultSet | executeQuery(java.lang.String sql)
Thread t = Thread.currentThread();
JDBCLogger.startLogSqlQuery(t, sql);
ResultSet r = realStatement.executeQuery(sql);
JDBCLogger.endLogSqlQuery(t, sql);
lastSql = sql;
return new ResultSetWrapper(r, this, sql);
|
public int | executeUpdate(java.lang.String sql)
Thread t = Thread.currentThread();
JDBCLogger.startLogSqlQuery(t, sql);
int i = realStatement.executeUpdate(sql);
JDBCLogger.endLogSqlQuery(t, sql);
lastSql = sql;
return i;
|
public java.sql.Connection | getConnection()
return connectionParent;
|
public int | getFetchDirection()
return realStatement.getFetchDirection();
|
public int | getFetchSize()
return realStatement.getFetchSize();
|
public int | getMaxFieldSize()
return realStatement.getMaxFieldSize();
|
public int | getMaxRows()
return realStatement.getMaxRows();
|
public boolean | getMoreResults()
return realStatement.getMoreResults();
|
public int | getQueryTimeout()
return realStatement.getQueryTimeout();
|
public java.sql.ResultSet | getResultSet()
return new ResultSetWrapper(realStatement.getResultSet(), this, lastSql);
|
public int | getResultSetConcurrency()
return realStatement.getResultSetConcurrency();
|
public int | getResultSetType()
return realStatement.getResultSetType();
|
public int | getUpdateCount()
return realStatement.getUpdateCount();
|
public java.sql.SQLWarning | getWarnings()
return realStatement.getWarnings();
|
public void | setCursorName(java.lang.String name)
realStatement.setCursorName(name);
|
public void | setEscapeProcessing(boolean enable)
realStatement.setEscapeProcessing(enable);
|
public void | setFetchDirection(int direction)
realStatement.setFetchDirection(direction);
|
public void | setFetchSize(int rows)
realStatement.setFetchSize(rows);
|
public void | setMaxFieldSize(int max)
realStatement.setMaxFieldSize(max);
|
public void | setMaxRows(int max)
realStatement.setMaxRows(max);
|
public void | setQueryTimeout(int seconds)
realStatement.setQueryTimeout(seconds);
|