net.sourceforge.backpedal.p6spy
Class BackpedalPreparedStatement

java.lang.Object
  |
  +--com.p6spy.engine.spy.P6Base
        |
        +--com.p6spy.engine.spy.P6Statement
              |
              +--com.p6spy.engine.spy.P6PreparedStatement
                    |
                    +--net.sourceforge.backpedal.p6spy.BackpedalPreparedStatement
All Implemented Interfaces:
PreparedStatement, Statement

public class BackpedalPreparedStatement
extends com.p6spy.engine.spy.P6PreparedStatement


Field Summary
 
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
 
Fields inherited from class com.p6spy.engine.spy.P6Base
factory
 
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
 
Constructor Summary
BackpedalPreparedStatement(org.picocontainer.PicoContainer container, com.p6spy.engine.spy.P6Factory factory, PreparedStatement real, com.p6spy.engine.spy.P6Connection conn, String query)
           
 
Method Summary
 void clearParameters()
           
 boolean execute()
           
 int executeUpdate()
           
protected  void initValues()
           
 void setBoolean(int p0, boolean p1)
           
 void setDate(int p0, Date p1)
           
 void setInt(int p0, int p1)
           
 void setNull(int p0, int p1)
           
 void setNull(int p0, int p1, String p2)
           
 void setString(int p0, String p1)
           
 void setTimestamp(int p0, Timestamp p1)
           
 
Methods inherited from class com.p6spy.engine.spy.P6PreparedStatement
addBatch, executeQuery, getJDBC, getMetaData, getParameterMetaData, getQueryFromPreparedStatement, getResultSet, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setByte, setBytes, setCharacterStream, setClob, setDate, setDouble, setFloat, setLong, setObject, setObject, setObject, setObjectAsInt, setObjectAsString, setRef, setShort, setTime, setTime, setTimestamp, setUnicodeStream, setURL
 
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, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout
 
Methods inherited from class com.p6spy.engine.spy.P6Base
getP6Factory, setP6Factory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.sql.Statement
addBatch, cancel, clearBatch, clearWarnings, close, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout
 

Constructor Detail

BackpedalPreparedStatement

public BackpedalPreparedStatement(org.picocontainer.PicoContainer container,
                                  com.p6spy.engine.spy.P6Factory factory,
                                  PreparedStatement real,
                                  com.p6spy.engine.spy.P6Connection conn,
                                  String query)
                           throws SQLException
Method Detail

setString

public void setString(int p0,
                      String p1)
               throws SQLException
Specified by:
setString in interface PreparedStatement
Overrides:
setString in class com.p6spy.engine.spy.P6PreparedStatement
SQLException

setInt

public void setInt(int p0,
                   int p1)
            throws SQLException
Specified by:
setInt in interface PreparedStatement
Overrides:
setInt in class com.p6spy.engine.spy.P6PreparedStatement
SQLException

setBoolean

public void setBoolean(int p0,
                       boolean p1)
                throws SQLException
Specified by:
setBoolean in interface PreparedStatement
Overrides:
setBoolean in class com.p6spy.engine.spy.P6PreparedStatement
SQLException

setDate

public void setDate(int p0,
                    Date p1)
             throws SQLException
Specified by:
setDate in interface PreparedStatement
Overrides:
setDate in class com.p6spy.engine.spy.P6PreparedStatement
SQLException

setTimestamp

public void setTimestamp(int p0,
                         Timestamp p1)
                  throws SQLException
Specified by:
setTimestamp in interface PreparedStatement
Overrides:
setTimestamp in class com.p6spy.engine.spy.P6PreparedStatement
SQLException

execute

public boolean execute()
                throws SQLException
Specified by:
execute in interface PreparedStatement
Overrides:
execute in class com.p6spy.engine.spy.P6PreparedStatement
SQLException

executeUpdate

public int executeUpdate()
                  throws SQLException
Specified by:
executeUpdate in interface PreparedStatement
Overrides:
executeUpdate in class com.p6spy.engine.spy.P6PreparedStatement
SQLException

clearParameters

public void clearParameters()
                     throws SQLException
Specified by:
clearParameters in interface PreparedStatement
Overrides:
clearParameters in class com.p6spy.engine.spy.P6PreparedStatement
SQLException

initValues

protected void initValues()
Overrides:
initValues in class com.p6spy.engine.spy.P6PreparedStatement

setNull

public void setNull(int p0,
                    int p1,
                    String p2)
             throws SQLException
Specified by:
setNull in interface PreparedStatement
Overrides:
setNull in class com.p6spy.engine.spy.P6PreparedStatement
SQLException

setNull

public void setNull(int p0,
                    int p1)
             throws SQLException
Specified by:
setNull in interface PreparedStatement
Overrides:
setNull in class com.p6spy.engine.spy.P6PreparedStatement
SQLException


Copyright © Sourceforge. All Rights Reserved.