org.exolab.castor.jdo.drivers

Class ConnectionProxy

public class ConnectionProxy extends Object implements Connection

Author: Administrator To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments

Method Summary
voidclearWarnings()
voidclose()
voidcommit()
StatementcreateStatement()
StatementcreateStatement(int arg0, int arg1)
StatementcreateStatement(int arg0, int arg1, int arg2)
booleanequals(Object arg0)
booleangetAutoCommit()
StringgetCatalog()
intgetHoldability()
DatabaseMetaDatagetMetaData()
intgetTransactionIsolation()
MapgetTypeMap()
SQLWarninggetWarnings()
inthashCode()
booleanisClosed()
booleanisReadOnly()
StringnativeSQL(String arg0)
static ConnectionnewConnectionProxy(Connection connection)
Factory method for creating a ConnectionProxy.
static ConnectionnewConnectionProxy(Connection connection, String calledBy)
Factory method for creating a ConnectionProxy.
CallableStatementprepareCall(String arg0)
CallableStatementprepareCall(String arg0, int arg1, int arg2)
CallableStatementprepareCall(String arg0, int arg1, int arg2, int arg3)
PreparedStatementprepareStatement(String arg0)
PreparedStatementprepareStatement(String arg0, int arg1)
PreparedStatementprepareStatement(String arg0, int arg1, int arg2)
PreparedStatementprepareStatement(String arg0, int arg1, int arg2, int arg3)
PreparedStatementprepareStatement(String arg0, int[] arg1)
PreparedStatementprepareStatement(String arg0, String[] arg1)
voidreleaseSavepoint(Savepoint arg0)
voidrollback()
voidrollback(Savepoint arg0)
voidsetAutoCommit(boolean arg0)
voidsetCatalog(String arg0)
voidsetHoldability(int arg0)
voidsetReadOnly(boolean arg0)
SavepointsetSavepoint()
SavepointsetSavepoint(String arg0)
voidsetTransactionIsolation(int arg0)
voidsetTypeMap(Map arg0)
StringtoString()

Method Detail

clearWarnings

public void clearWarnings()

Throws: java.sql.SQLException

close

public void close()

Throws: java.sql.SQLException

commit

public void commit()

Throws: java.sql.SQLException

createStatement

public Statement createStatement()

Returns:

Throws: java.sql.SQLException

createStatement

public Statement createStatement(int arg0, int arg1)

Parameters: arg0 arg1

Returns:

Throws: java.sql.SQLException

createStatement

public Statement createStatement(int arg0, int arg1, int arg2)

Parameters: arg0 arg1 arg2

Returns:

Throws: java.sql.SQLException

equals

public boolean equals(Object arg0)

getAutoCommit

public boolean getAutoCommit()

Returns:

Throws: java.sql.SQLException

getCatalog

public String getCatalog()

Returns:

Throws: java.sql.SQLException

getHoldability

public int getHoldability()

Returns:

Throws: java.sql.SQLException

getMetaData

public DatabaseMetaData getMetaData()

Returns:

Throws: java.sql.SQLException

getTransactionIsolation

public int getTransactionIsolation()

Returns:

Throws: java.sql.SQLException

getTypeMap

public Map getTypeMap()

Returns:

Throws: java.sql.SQLException

getWarnings

public SQLWarning getWarnings()

Returns:

Throws: java.sql.SQLException

hashCode

public int hashCode()

isClosed

public boolean isClosed()

Returns:

Throws: java.sql.SQLException

isReadOnly

public boolean isReadOnly()

Returns:

Throws: java.sql.SQLException

nativeSQL

public String nativeSQL(String arg0)

Parameters: arg0

Returns:

Throws: java.sql.SQLException

newConnectionProxy

public static Connection newConnectionProxy(Connection connection)
Factory method for creating a ConnectionProxy.

Parameters: connection The JDBC connection to proxy.

Returns: The JDBC connection proxy.

newConnectionProxy

public static Connection newConnectionProxy(Connection connection, String calledBy)
Factory method for creating a ConnectionProxy.

Parameters: connection The JDBC connection to proxy. calledBy Name of the class using creating and this proxy class.

Returns: The JDBC connection proxy.

prepareCall

public CallableStatement prepareCall(String arg0)

Parameters: arg0

Returns:

Throws: java.sql.SQLException

prepareCall

public CallableStatement prepareCall(String arg0, int arg1, int arg2)

Parameters: arg0 arg1 arg2

Returns:

Throws: java.sql.SQLException

prepareCall

public CallableStatement prepareCall(String arg0, int arg1, int arg2, int arg3)

Parameters: arg0 arg1 arg2 arg3

Returns:

Throws: java.sql.SQLException

prepareStatement

public PreparedStatement prepareStatement(String arg0)

Parameters: arg0

Returns:

Throws: java.sql.SQLException

prepareStatement

public PreparedStatement prepareStatement(String arg0, int arg1)

Parameters: arg0 arg1

Returns:

Throws: java.sql.SQLException

prepareStatement

public PreparedStatement prepareStatement(String arg0, int arg1, int arg2)

Parameters: arg0 arg1 arg2

Returns:

Throws: java.sql.SQLException

prepareStatement

public PreparedStatement prepareStatement(String arg0, int arg1, int arg2, int arg3)

Parameters: arg0 arg1 arg2 arg3

Returns:

Throws: java.sql.SQLException

prepareStatement

public PreparedStatement prepareStatement(String arg0, int[] arg1)

Parameters: arg0 arg1

Returns:

Throws: java.sql.SQLException

prepareStatement

public PreparedStatement prepareStatement(String arg0, String[] arg1)

Parameters: arg0 arg1

Returns:

Throws: java.sql.SQLException

releaseSavepoint

public void releaseSavepoint(Savepoint arg0)

Parameters: arg0

Throws: java.sql.SQLException

rollback

public void rollback()

Throws: java.sql.SQLException

rollback

public void rollback(Savepoint arg0)

Parameters: arg0

Throws: java.sql.SQLException

setAutoCommit

public void setAutoCommit(boolean arg0)

Parameters: arg0

Throws: java.sql.SQLException

setCatalog

public void setCatalog(String arg0)

Parameters: arg0

Throws: java.sql.SQLException

setHoldability

public void setHoldability(int arg0)

Parameters: arg0

Throws: java.sql.SQLException

setReadOnly

public void setReadOnly(boolean arg0)

Parameters: arg0

Throws: java.sql.SQLException

setSavepoint

public Savepoint setSavepoint()

Returns:

Throws: java.sql.SQLException

setSavepoint

public Savepoint setSavepoint(String arg0)

Parameters: arg0

Returns:

Throws: java.sql.SQLException

setTransactionIsolation

public void setTransactionIsolation(int arg0)

Parameters: arg0

Throws: java.sql.SQLException

setTypeMap

public void setTypeMap(Map arg0)

Parameters: arg0

Throws: java.sql.SQLException

toString

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