com.p6spy.engine.outage

Class P6OutagePreparedStatement

Implemented Interfaces:
PreparedStatement, Statement

public class P6OutagePreparedStatement
extends P6PreparedStatement
implements PreparedStatement

Description: JDBC Driver Extension implementing PreparedStatement. $Author: cheechq $ $Revision: 1.6 $ $Date: 2003/06/03 19:20:23 $ $Id: P6OutagePreparedStatement.java,v 1.6 2003/06/03 19:20:23 cheechq Exp $ $Source: /cvsroot/p6spy/p6spy/com/p6spy/engine/outage/P6OutagePreparedStatement.java,v $ $Log: P6OutagePreparedStatement.java,v $ Revision 1.6 2003/06/03 19:20:23 cheechq removed unused imports Revision 1.5 2003/01/28 17:01:10 jeffgoke rewrote options to the ability for a module to have its own option set Revision 1.4 2002/12/19 16:29:34 aarvesen Removed the checkReload call Revision 1.3 2002/12/09 21:49:23 aarvesen New constructor jdk 1.4 changes Revision 1.2 2002/10/06 18:22:48 jeffgoke no message Revision 1.1 2002/05/24 07:31:28 jeffgoke version 1 rewrite Revision 1.8 2002/05/18 06:39:52 jeffgoke Peter Laird added Outage detection. Added junit tests for outage detection. Fixed multi-driver tests. Revision 1.7 2002/05/16 04:58:40 jeffgoke Viktor Szathmary added multi-driver support. Rewrote P6SpyOptions to be easier to manage. Fixed several bugs. Revision 1.6 2002/04/21 06:15:34 jeffgoke added test cases, fixed batch bugs Revision 1.5 2002/04/18 06:54:39 jeffgoke added batch statement logging support Revision 1.4 2002/04/15 05:13:32 jeffgoke Simon Sadedin added timing support. Fixed bug where batch execute was not getting logged. Added result set timing. Updated the log format to include categories, and updated options to control the categories. Updated documentation. Revision 1.3 2002/04/11 04:18:03 jeffgoke fixed bug where callable & prepared were not passing their ancestors the correct constructor information Revision 1.2 2002/04/10 04:24:26 jeffgoke added support for callable statements and fixed numerous bugs that allowed the real class to be returned Revision 1.1.1.1 2002/04/07 04:52:25 jeffgoke no message Revision 1.2 2001-08-05 09:16:04-05 andy final version on the website Revision 1.1 2001-08-02 07:52:43-05 andy <> Revision 1.0 2001-08-02 06:37:42-05 andy Initial revision

Field Summary

Fields inherited from class com.p6spy.engine.spy.P6PreparedStatement

P6_GROW_MAX, P6_MAX_FIELDS, isString, prepStmtPassthru, preparedQuery, values

Fields inherited from class com.p6spy.engine.spy.P6Statement

connection, passthru, statementQuery

Fields inherited from class com.p6spy.engine.spy.P6Base

factory

Constructor Summary

P6OutagePreparedStatement(P6Factory factory, PreparedStatement statement, P6Connection conn, String query)

Method Summary

void
addBatch(String p0)
boolean
execute()
boolean
execute(String p0)
boolean
execute(String p0, int p1)
boolean
execute(String p0, p1[] )
boolean
execute(String p0, p1[] )
int[]
executeBatch()
ResultSet
executeQuery()
ResultSet
executeQuery(String p0)
int
executeUpdate()
int
executeUpdate(String p0)
int
executeUpdate(String p0, int p1)
int
executeUpdate(String p0, p1[] )
int
executeUpdate(String p0, p1[] )

Methods inherited from class com.p6spy.engine.spy.P6PreparedStatement

addBatch, clearParameters, execute, executeQuery, executeUpdate, 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, setURL, setUnicodeStream

Methods inherited from class com.p6spy.engine.spy.P6Statement

addBatch, cancel, clearBatch, clearWarnings, close, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getJDBC, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout

Methods inherited from class com.p6spy.engine.spy.P6Base

getP6Factory, setP6Factory

Constructor Details

P6OutagePreparedStatement

public P6OutagePreparedStatement(P6Factory factory,
                                 PreparedStatement statement,
                                 P6Connection conn,
                                 String query)

Method Details

addBatch

public void addBatch(String p0)
            throws SQLException
Overrides:
addBatch in interface P6Statement


execute

public boolean execute()
            throws SQLException
Overrides:
execute in interface P6PreparedStatement


execute

public boolean execute(String p0)
            throws SQLException
Overrides:
execute in interface P6Statement


execute

public boolean execute(String p0,
                       int p1)
            throws SQLException
Overrides:
execute in interface P6Statement


execute

public boolean execute(String p0,
                       p1[] )
            throws SQLException
Overrides:
execute in interface P6Statement


execute

public boolean execute(String p0,
                       p1[] )
            throws SQLException
Overrides:
execute in interface P6Statement


executeBatch

public int[] executeBatch()
            throws SQLException
Overrides:
executeBatch in interface P6Statement


executeQuery

public ResultSet executeQuery()
            throws SQLException
Overrides:
executeQuery in interface P6PreparedStatement


executeQuery

public ResultSet executeQuery(String p0)
            throws SQLException
Overrides:
executeQuery in interface P6Statement


executeUpdate

public int executeUpdate()
            throws SQLException
Overrides:
executeUpdate in interface P6PreparedStatement


executeUpdate

public int executeUpdate(String p0)
            throws SQLException
Overrides:
executeUpdate in interface P6Statement


executeUpdate

public int executeUpdate(String p0,
                         int p1)
            throws SQLException
Overrides:
executeUpdate in interface P6Statement


executeUpdate

public int executeUpdate(String p0,
                         p1[] )
            throws SQLException
Overrides:
executeUpdate in interface P6Statement


executeUpdate

public int executeUpdate(String p0,
                         p1[] )
            throws SQLException
Overrides:
executeUpdate in interface P6Statement