com.p6spy.engine.logging
Class P6LogPreparedStatement

java.lang.Object
  |
  +--com.p6spy.engine.spy.P6Statement
        |
        +--com.p6spy.engine.spy.P6PreparedStatement
              |
              +--com.p6spy.engine.logging.P6LogPreparedStatement
All Implemented Interfaces:
java.sql.PreparedStatement, java.sql.Statement

public class P6LogPreparedStatement
extends P6PreparedStatement
implements java.sql.PreparedStatement


Fields inherited from class com.p6spy.engine.spy.P6PreparedStatement
isString, P6_MAX_FIELDS, preparedQuery, prepStmtPassthru, values
 
Fields inherited from class com.p6spy.engine.spy.P6Statement
connection, passthru, statementQuery
 
Constructor Summary
P6LogPreparedStatement(java.sql.PreparedStatement statement, P6Connection conn, java.lang.String query)
           
 
Method Summary
 void addBatch()
           
 void addBatch(java.lang.String p0)
           
 boolean execute()
           
 boolean execute(java.lang.String p0)
           
 int[] executeBatch()
           
 java.sql.ResultSet executeQuery()
           
 java.sql.ResultSet executeQuery(java.lang.String p0)
           
 int executeUpdate()
           
 int executeUpdate(java.lang.String p0)
           
protected  P6Factory getP6Factory()
           
 
Methods inherited from class com.p6spy.engine.spy.P6PreparedStatement
clearParameters, getMetaData, getQueryFromPreparedStatement, getResultSet, initValues, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setObjectAsInt, setObjectAsString, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream
 
Methods inherited from class com.p6spy.engine.spy.P6Statement
cancel, clearBatch, clearWarnings, close, getConnection, getFetchDirection, getFetchSize, getMaxFieldSize, getMaxRows, getMoreResults, getQueryTimeout, getResultSetConcurrency, getResultSetType, getUpdateCount, getWarnings, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.sql.PreparedStatement
clearParameters, getMetaData, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream
 
Methods inherited from interface java.sql.Statement
cancel, clearBatch, clearWarnings, close, getConnection, getFetchDirection, getFetchSize, getMaxFieldSize, getMaxRows, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetType, getUpdateCount, getWarnings, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout
 

Constructor Detail

P6LogPreparedStatement

public P6LogPreparedStatement(java.sql.PreparedStatement statement,
                              P6Connection conn,
                              java.lang.String query)
Method Detail

getP6Factory

protected P6Factory getP6Factory()
Overrides:
getP6Factory in class P6PreparedStatement

addBatch

public void addBatch()
              throws java.sql.SQLException
Specified by:
addBatch in interface java.sql.PreparedStatement
Overrides:
addBatch in class P6PreparedStatement

execute

public boolean execute()
                throws java.sql.SQLException
Specified by:
execute in interface java.sql.PreparedStatement
Overrides:
execute in class P6PreparedStatement

executeQuery

public java.sql.ResultSet executeQuery()
                                throws java.sql.SQLException
Specified by:
executeQuery in interface java.sql.PreparedStatement
Overrides:
executeQuery in class P6PreparedStatement

executeUpdate

public int executeUpdate()
                  throws java.sql.SQLException
Specified by:
executeUpdate in interface java.sql.PreparedStatement
Overrides:
executeUpdate in class P6PreparedStatement

execute

public boolean execute(java.lang.String p0)
                throws java.sql.SQLException
Specified by:
execute in interface java.sql.Statement
Overrides:
execute in class P6Statement

executeQuery

public java.sql.ResultSet executeQuery(java.lang.String p0)
                                throws java.sql.SQLException
Specified by:
executeQuery in interface java.sql.Statement
Overrides:
executeQuery in class P6Statement

executeUpdate

public int executeUpdate(java.lang.String p0)
                  throws java.sql.SQLException
Specified by:
executeUpdate in interface java.sql.Statement
Overrides:
executeUpdate in class P6Statement

addBatch

public void addBatch(java.lang.String p0)
              throws java.sql.SQLException
Specified by:
addBatch in interface java.sql.Statement
Overrides:
addBatch in class P6Statement

executeBatch

public int[] executeBatch()
                   throws java.sql.SQLException
Specified by:
executeBatch in interface java.sql.Statement
Overrides:
executeBatch in class P6Statement