com.p6spy.engine.logging

Class P6LogPreparedStatement

public class P6LogPreparedStatement extends P6PreparedStatement implements PreparedStatement

Description: JDBC Driver Extension implementing PreparedStatement. $Author: cheechq $ $Revision: 1.6 $ $Date: 2003/06/03 19:20:22 $ $Id: P6LogPreparedStatement.java,v 1.6 2003/06/03 19:20:22 cheechq Exp $ $Source: /cvsroot/p6spy/p6spy/com/p6spy/engine/logging/P6LogPreparedStatement.java,v $ $Log: P6LogPreparedStatement.java,v $ Revision 1.6 2003/06/03 19:20:22 cheechq removed unused imports Revision 1.5 2002/12/19 16:59:44 aarvesen remove getTrace from the driver level Revision 1.4 2002/12/19 16:31:18 aarvesen Removed the checkReload call Revision 1.3 2002/12/06 22:28:08 aarvesen new factory registration in the constructor added submitted jdk 1.4 code Revision 1.2 2002/10/06 18:22:12 jeffgoke no message Revision 1.1 2002/05/24 07:31:45 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
Constructor Summary
P6LogPreparedStatement(P6Factory factory, PreparedStatement statement, P6Connection conn, String query)
Method Summary
voidaddBatch()
voidaddBatch(String p0)
booleanexecute()
booleanexecute(String p0)
booleanexecute(String p0, int p1)
booleanexecute(String p0, int[] p1)
booleanexecute(String p0, String[] p1)
int[]executeBatch()
ResultSetexecuteQuery()
ResultSetexecuteQuery(String p0)
intexecuteUpdate()
intexecuteUpdate(String p0)
intexecuteUpdate(String p0, int p1)
intexecuteUpdate(String p0, int[] p1)
intexecuteUpdate(String p0, String[] p1)

Constructor Detail

P6LogPreparedStatement

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

Method Detail

addBatch

public void addBatch()

addBatch

public void addBatch(String p0)

execute

public boolean execute()

execute

public boolean execute(String p0)

execute

public boolean execute(String p0, int p1)

execute

public boolean execute(String p0, int[] p1)

execute

public boolean execute(String p0, String[] p1)

executeBatch

public int[] executeBatch()

executeQuery

public ResultSet executeQuery()

executeQuery

public ResultSet executeQuery(String p0)

executeUpdate

public int executeUpdate()

executeUpdate

public int executeUpdate(String p0)

executeUpdate

public int executeUpdate(String p0, int p1)

executeUpdate

public int executeUpdate(String p0, int[] p1)

executeUpdate

public int executeUpdate(String p0, String[] p1)