com.p6spy.engine.spy

Class P6Array

Implemented Interfaces:
Array

public class P6Array
extends P6Base
implements Array

Description: JDBC Driver Extension implementing PreparedStatement. $Author: cheechq $ $Revision: 1.4 $ $Date: 2003/06/03 19:20:24 $ $Id: P6Array.java,v 1.4 2003/06/03 19:20:24 cheechq Exp $ $Source: /cvsroot/p6spy/p6spy/com/p6spy/engine/spy/P6Array.java,v $ $Log: P6Array.java,v $ Revision 1.4 2003/06/03 19:20:24 cheechq removed unused imports Revision 1.3 2003/01/03 20:33:42 aarvesen Added getJDBC() method to return the underlying jdbc object. Revision 1.2 2002/12/06 22:39:43 aarvesen Extend P6Base. New factory registration in the constructor. Revision 1.1 2002/05/24 07:31:13 jeffgoke version 1 rewrite Revision 1.2 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.1 2002/04/10 04:24:26 jeffgoke added support for callable statements and fixed numerous bugs that allowed the real class to be returned

Field Summary

protected Array
passthru
protected String
preparedQuery
protected String
query
protected P6Statement
statement

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

factory

Constructor Summary

P6Array(P6Factory factory, Array array, P6Statement statement, String preparedQuery, String query)

Method Summary

Object
getArray()
Object
getArray(Map p0)
Object
getArray(long p0, int p1)
Object
getArray(long p0, int p1, Map map)
int
getBaseType()
String
getBaseTypeName()
Array
getJDBC()
Returns the underlying JDBC object (in this case, a java.sql.Array)
ResultSet
getResultSet()
ResultSet
getResultSet(Map p0)
ResultSet
getResultSet(long p0, int p1)
ResultSet
getResultSet(long p0, int p1, Map p2)

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

getP6Factory, setP6Factory

Field Details

passthru

protected Array passthru


preparedQuery

protected String preparedQuery


query

protected String query


statement

protected P6Statement statement

Constructor Details

P6Array

public P6Array(P6Factory factory,
               Array array,
               P6Statement statement,
               String preparedQuery,
               String query)

Method Details

getArray

public Object getArray()
            throws SQLException


getArray

public Object getArray(Map p0)
            throws SQLException


getArray

public Object getArray(long p0,
                       int p1)
            throws SQLException


getArray

public Object getArray(long p0,
                       int p1,
                       Map map)
            throws SQLException


getBaseType

public int getBaseType()
            throws SQLException


getBaseTypeName

public String getBaseTypeName()
            throws SQLException


getJDBC

public Array getJDBC()
Returns the underlying JDBC object (in this case, a java.sql.Array)

Returns:
the wrapped JDBC object


getResultSet

public ResultSet getResultSet()
            throws SQLException


getResultSet

public ResultSet getResultSet(Map p0)
            throws SQLException


getResultSet

public ResultSet getResultSet(long p0,
                                       int p1)
            throws SQLException


getResultSet

public ResultSet getResultSet(long p0,
                                       int p1,
                                       Map p2)
            throws SQLException