com.p6spy.engine.logging
Class P6LogPreparedStatement
java.lang.Object
com.p6spy.engine.spy.P6Base
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 interface java.sql.Statement |
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO |
Methods inherited from class com.p6spy.engine.spy.P6PreparedStatement |
clearParameters, getJDBC, getMetaData, getParameterMetaData, getQueryFromPreparedStatement, getResultSet, getValuesLength, growValues, 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, setURL |
Methods inherited from class com.p6spy.engine.spy.P6Statement |
cancel, clearBatch, clearWarnings, close, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSetConcurrency, getResultSetHoldability, 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, getParameterMetaData, 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, setURL |
Methods inherited from interface java.sql.Statement |
cancel, clearBatch, clearWarnings, close, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout |
P6LogPreparedStatement
public P6LogPreparedStatement(P6Factory factory,
java.sql.PreparedStatement statement,
P6Connection conn,
java.lang.String query)
addBatch
public void addBatch()
throws java.sql.SQLException
- Specified by:
addBatch
in interface java.sql.PreparedStatement
- Overrides:
addBatch
in class P6PreparedStatement
- Throws:
java.sql.SQLException
execute
public boolean execute()
throws java.sql.SQLException
- Specified by:
execute
in interface java.sql.PreparedStatement
- Overrides:
execute
in class P6PreparedStatement
- Throws:
java.sql.SQLException
executeQuery
public java.sql.ResultSet executeQuery()
throws java.sql.SQLException
- Specified by:
executeQuery
in interface java.sql.PreparedStatement
- Overrides:
executeQuery
in class P6PreparedStatement
- Throws:
java.sql.SQLException
executeUpdate
public int executeUpdate()
throws java.sql.SQLException
- Specified by:
executeUpdate
in interface java.sql.PreparedStatement
- Overrides:
executeUpdate
in class P6PreparedStatement
- Throws:
java.sql.SQLException
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
- Throws:
java.sql.SQLException
execute
public boolean execute(java.lang.String p0,
int p1)
throws java.sql.SQLException
- Specified by:
execute
in interface java.sql.Statement
- Overrides:
execute
in class P6Statement
- Throws:
java.sql.SQLException
execute
public boolean execute(java.lang.String p0,
int[] p1)
throws java.sql.SQLException
- Specified by:
execute
in interface java.sql.Statement
- Overrides:
execute
in class P6Statement
- Throws:
java.sql.SQLException
execute
public boolean execute(java.lang.String p0,
java.lang.String[] p1)
throws java.sql.SQLException
- Specified by:
execute
in interface java.sql.Statement
- Overrides:
execute
in class P6Statement
- Throws:
java.sql.SQLException
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
- Throws:
java.sql.SQLException
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
- Throws:
java.sql.SQLException
executeUpdate
public int executeUpdate(java.lang.String p0,
int p1)
throws java.sql.SQLException
- Specified by:
executeUpdate
in interface java.sql.Statement
- Overrides:
executeUpdate
in class P6Statement
- Throws:
java.sql.SQLException
executeUpdate
public int executeUpdate(java.lang.String p0,
int[] p1)
throws java.sql.SQLException
- Specified by:
executeUpdate
in interface java.sql.Statement
- Overrides:
executeUpdate
in class P6Statement
- Throws:
java.sql.SQLException
executeUpdate
public int executeUpdate(java.lang.String p0,
java.lang.String[] p1)
throws java.sql.SQLException
- Specified by:
executeUpdate
in interface java.sql.Statement
- Overrides:
executeUpdate
in class P6Statement
- Throws:
java.sql.SQLException
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
- Throws:
java.sql.SQLException
executeBatch
public int[] executeBatch()
throws java.sql.SQLException
- Specified by:
executeBatch
in interface java.sql.Statement
- Overrides:
executeBatch
in class P6Statement
- Throws:
java.sql.SQLException