org.exolab.castor.jdo.drivers

Class PreparedStatementProxy

public class PreparedStatementProxy extends Object implements PreparedStatement

Author: Administrator

Method Summary
voidaddBatch()
voidaddBatch(String arg0)
voidcancel()
voidclearBatch()
voidclearParameters()
voidclearWarnings()
voidclose()
booleanequals(Object arg0)
booleanexecute()
booleanexecute(String arg0)
booleanexecute(String arg0, int arg1)
booleanexecute(String arg0, int[] arg1)
booleanexecute(String arg0, String[] arg1)
int[]executeBatch()
ResultSetexecuteQuery()
ResultSetexecuteQuery(String arg0)
intexecuteUpdate()
intexecuteUpdate(String arg0)
intexecuteUpdate(String arg0, int arg1)
intexecuteUpdate(String arg0, int[] arg1)
intexecuteUpdate(String arg0, String[] arg1)
ConnectiongetConnection()
intgetFetchDirection()
intgetFetchSize()
ResultSetgetGeneratedKeys()
intgetMaxFieldSize()
intgetMaxRows()
ResultSetMetaDatagetMetaData()
booleangetMoreResults()
booleangetMoreResults(int arg0)
ParameterMetaDatagetParameterMetaData()
intgetQueryTimeout()
ResultSetgetResultSet()
intgetResultSetConcurrency()
intgetResultSetHoldability()
intgetResultSetType()
intgetUpdateCount()
SQLWarninggetWarnings()
inthashCode()
static PreparedStatementnewPreparedStatementProxy(PreparedStatement statement, String sql, Connection connection)
Factory method for creating a PreparedStamentProxy
voidsetArray(int arg0, Array arg1)
voidsetAsciiStream(int arg0, InputStream arg1, int arg2)
voidsetBigDecimal(int arg0, BigDecimal arg1)
voidsetBinaryStream(int arg0, InputStream arg1, int arg2)
voidsetBlob(int arg0, Blob arg1)
voidsetBoolean(int arg0, boolean arg1)
voidsetByte(int arg0, byte arg1)
voidsetBytes(int arg0, byte[] arg1)
voidsetCharacterStream(int arg0, Reader arg1, int arg2)
voidsetClob(int arg0, Clob arg1)
voidsetCursorName(String arg0)
voidsetDate(int arg0, Date arg1)
voidsetDate(int arg0, Date arg1, Calendar arg2)
voidsetDouble(int arg0, double arg1)
voidsetEscapeProcessing(boolean arg0)
voidsetFetchDirection(int arg0)
voidsetFetchSize(int arg0)
voidsetFloat(int arg0, float arg1)
voidsetInt(int arg0, int arg1)
voidsetLong(int arg0, long arg1)
voidsetMaxFieldSize(int arg0)
voidsetMaxRows(int arg0)
voidsetNull(int arg0, int arg1)
voidsetNull(int arg0, int arg1, String arg2)
voidsetObject(int arg0, Object arg1)
voidsetObject(int arg0, Object arg1, int arg2)
voidsetObject(int arg0, Object arg1, int arg2, int arg3)
voidsetQueryTimeout(int arg0)
voidsetRef(int arg0, Ref arg1)
voidsetShort(int arg0, short arg1)
voidsetString(int arg0, String arg1)
voidsetTime(int arg0, Time arg1)
voidsetTime(int arg0, Time arg1, Calendar arg2)
voidsetTimestamp(int arg0, Timestamp arg1)
voidsetTimestamp(int arg0, Timestamp arg1, Calendar arg2)
voidsetUnicodeStream(int arg0, InputStream arg1, int arg2)
voidsetURL(int arg0, URL arg1)
StringtoString()

Method Detail

addBatch

public void addBatch()

See Also: PreparedStatement#addBatch()

addBatch

public void addBatch(String arg0)

See Also: PreparedStatement#addBatch(String)

cancel

public void cancel()

See Also: PreparedStatement#cancel()

clearBatch

public void clearBatch()

See Also: PreparedStatement#clearBatch()

clearParameters

public void clearParameters()

See Also: PreparedStatement#clearParameters()

clearWarnings

public void clearWarnings()

See Also: PreparedStatement#clearWarnings()

close

public void close()

See Also: PreparedStatement#close()

equals

public boolean equals(Object arg0)

execute

public boolean execute()

See Also: PreparedStatement#execute()

execute

public boolean execute(String arg0)

Parameters: arg0

Returns:

Throws: java.sql.SQLException

execute

public boolean execute(String arg0, int arg1)

Parameters: arg0 arg1

Returns:

Throws: java.sql.SQLException

execute

public boolean execute(String arg0, int[] arg1)

Parameters: arg0 arg1

Returns:

Throws: java.sql.SQLException

execute

public boolean execute(String arg0, String[] arg1)

Parameters: arg0 arg1

Returns:

Throws: java.sql.SQLException

executeBatch

public int[] executeBatch()

Returns:

Throws: java.sql.SQLException

executeQuery

public ResultSet executeQuery()

Returns:

Throws: java.sql.SQLException

executeQuery

public ResultSet executeQuery(String arg0)

Parameters: arg0

Returns:

Throws: java.sql.SQLException

executeUpdate

public int executeUpdate()

Returns:

Throws: java.sql.SQLException

executeUpdate

public int executeUpdate(String arg0)

Parameters: arg0

Returns:

Throws: java.sql.SQLException

executeUpdate

public int executeUpdate(String arg0, int arg1)

Parameters: arg0 arg1

Returns:

Throws: java.sql.SQLException

executeUpdate

public int executeUpdate(String arg0, int[] arg1)

Parameters: arg0 arg1

Returns:

Throws: java.sql.SQLException

executeUpdate

public int executeUpdate(String arg0, String[] arg1)

Parameters: arg0 arg1

Returns:

Throws: java.sql.SQLException

getConnection

public Connection getConnection()

Returns:

Throws: java.sql.SQLException

getFetchDirection

public int getFetchDirection()

Returns:

Throws: java.sql.SQLException

getFetchSize

public int getFetchSize()

Returns:

Throws: java.sql.SQLException

getGeneratedKeys

public ResultSet getGeneratedKeys()

Returns:

Throws: java.sql.SQLException

getMaxFieldSize

public int getMaxFieldSize()

Returns:

Throws: java.sql.SQLException

getMaxRows

public int getMaxRows()

Returns:

Throws: java.sql.SQLException

getMetaData

public ResultSetMetaData getMetaData()

Returns:

Throws: java.sql.SQLException

getMoreResults

public boolean getMoreResults()

Returns:

Throws: java.sql.SQLException

getMoreResults

public boolean getMoreResults(int arg0)

Parameters: arg0

Returns:

Throws: java.sql.SQLException

getParameterMetaData

public ParameterMetaData getParameterMetaData()

Returns:

Throws: java.sql.SQLException

getQueryTimeout

public int getQueryTimeout()

Returns:

Throws: java.sql.SQLException

getResultSet

public ResultSet getResultSet()

Returns:

Throws: java.sql.SQLException

getResultSetConcurrency

public int getResultSetConcurrency()

Returns:

Throws: java.sql.SQLException

getResultSetHoldability

public int getResultSetHoldability()

Returns:

Throws: java.sql.SQLException

getResultSetType

public int getResultSetType()

Returns:

Throws: java.sql.SQLException

getUpdateCount

public int getUpdateCount()

Returns:

Throws: java.sql.SQLException

getWarnings

public SQLWarning getWarnings()

Returns:

Throws: java.sql.SQLException

hashCode

public int hashCode()

newPreparedStatementProxy

public static PreparedStatement newPreparedStatementProxy(PreparedStatement statement, String sql, Connection connection)
Factory method for creating a PreparedStamentProxy

Parameters: statement Prepared statement to be proxied. sql SQL string. connection JDBC connection

Returns: Prepared statement proxy.

setArray

public void setArray(int arg0, Array arg1)

Parameters: arg0 arg1

Throws: java.sql.SQLException

setAsciiStream

public void setAsciiStream(int arg0, InputStream arg1, int arg2)

Parameters: arg0 arg1 arg2

Throws: java.sql.SQLException

setBigDecimal

public void setBigDecimal(int arg0, BigDecimal arg1)

Parameters: arg0 arg1

Throws: java.sql.SQLException

setBinaryStream

public void setBinaryStream(int arg0, InputStream arg1, int arg2)

Parameters: arg0 arg1 arg2

Throws: java.sql.SQLException

setBlob

public void setBlob(int arg0, Blob arg1)

Parameters: arg0 arg1

Throws: java.sql.SQLException

setBoolean

public void setBoolean(int arg0, boolean arg1)

Parameters: arg0 arg1

Throws: java.sql.SQLException

setByte

public void setByte(int arg0, byte arg1)

Parameters: arg0 arg1

Throws: java.sql.SQLException

setBytes

public void setBytes(int arg0, byte[] arg1)

Parameters: arg0 arg1

Throws: java.sql.SQLException

setCharacterStream

public void setCharacterStream(int arg0, Reader arg1, int arg2)

Parameters: arg0 arg1 arg2

Throws: java.sql.SQLException

setClob

public void setClob(int arg0, Clob arg1)

Parameters: arg0 arg1

Throws: java.sql.SQLException

setCursorName

public void setCursorName(String arg0)

Parameters: arg0

Throws: java.sql.SQLException

setDate

public void setDate(int arg0, Date arg1)

Parameters: arg0 arg1

Throws: java.sql.SQLException

setDate

public void setDate(int arg0, Date arg1, Calendar arg2)

Parameters: arg0 arg1 arg2

Throws: java.sql.SQLException

setDouble

public void setDouble(int arg0, double arg1)

Parameters: arg0 arg1

Throws: java.sql.SQLException

setEscapeProcessing

public void setEscapeProcessing(boolean arg0)

Parameters: arg0

Throws: java.sql.SQLException

setFetchDirection

public void setFetchDirection(int arg0)

Parameters: arg0

Throws: java.sql.SQLException

setFetchSize

public void setFetchSize(int arg0)

Parameters: arg0

Throws: java.sql.SQLException

setFloat

public void setFloat(int arg0, float arg1)

Parameters: arg0 arg1

Throws: java.sql.SQLException

setInt

public void setInt(int arg0, int arg1)

Parameters: arg0 arg1

Throws: java.sql.SQLException

setLong

public void setLong(int arg0, long arg1)

Parameters: arg0 arg1

Throws: java.sql.SQLException

setMaxFieldSize

public void setMaxFieldSize(int arg0)

Parameters: arg0

Throws: java.sql.SQLException

setMaxRows

public void setMaxRows(int arg0)

Parameters: arg0

Throws: java.sql.SQLException

setNull

public void setNull(int arg0, int arg1)

Parameters: arg0 arg1

Throws: java.sql.SQLException

setNull

public void setNull(int arg0, int arg1, String arg2)

Parameters: arg0 arg1 arg2

Throws: java.sql.SQLException

setObject

public void setObject(int arg0, Object arg1)

Parameters: arg0 arg1

Throws: java.sql.SQLException

setObject

public void setObject(int arg0, Object arg1, int arg2)

Parameters: arg0 arg1 arg2

Throws: java.sql.SQLException

setObject

public void setObject(int arg0, Object arg1, int arg2, int arg3)

Parameters: arg0 arg1 arg2 arg3

Throws: java.sql.SQLException

setQueryTimeout

public void setQueryTimeout(int arg0)

Parameters: arg0

Throws: java.sql.SQLException

setRef

public void setRef(int arg0, Ref arg1)

Parameters: arg0 arg1

Throws: java.sql.SQLException

setShort

public void setShort(int arg0, short arg1)

Parameters: arg0 arg1

Throws: java.sql.SQLException

setString

public void setString(int arg0, String arg1)

Parameters: arg0 arg1

Throws: java.sql.SQLException

setTime

public void setTime(int arg0, Time arg1)

Parameters: arg0 arg1

Throws: java.sql.SQLException

setTime

public void setTime(int arg0, Time arg1, Calendar arg2)

Parameters: arg0 arg1 arg2

Throws: java.sql.SQLException

setTimestamp

public void setTimestamp(int arg0, Timestamp arg1)

Parameters: arg0 arg1

Throws: java.sql.SQLException

setTimestamp

public void setTimestamp(int arg0, Timestamp arg1, Calendar arg2)

Parameters: arg0 arg1 arg2

Throws: java.sql.SQLException

setUnicodeStream

public void setUnicodeStream(int arg0, InputStream arg1, int arg2)

Parameters: arg0 arg1 arg2

Throws: java.sql.SQLException

setURL

public void setURL(int arg0, URL arg1)

Parameters: arg0 arg1

Throws: java.sql.SQLException

toString

public String toString()
Intalio Inc. (C) 1999-2004. All rights reserved http://www.intalio.com