org.castor.jdo.drivers
public final class ConnectionProxyFactory extends Object
Since: 1.0.4
Version: $Revision: 5951 $ $Date$
Method Summary | |
---|---|
protected static CallableStatement | newCallableStatementProxy(CallableStatement statement, String sql)
Factory method for creating a CallableStamentProxy
|
static Connection | newConnectionProxy(Connection connection)
Factory method for creating a ConnectionProxy.
|
static Connection | newConnectionProxy(Connection connection, String calledBy)
Factory method for creating a ConnectionProxy.
|
protected static PreparedStatement | newPreparedStatementProxy(PreparedStatement statement, String sql)
Factory method for creating a PreparedStamentProxy
|
Parameters: statement Callable statement to be proxied. sql SQL string.
Returns: Callable statement proxy.
Parameters: connection The JDBC connection to proxy.
Returns: The JDBC connection proxy.
Parameters: connection The JDBC connection to proxy. calledBy Name of the class using creating and this proxy class.
Returns: The JDBC connection proxy.
Parameters: statement Prepared statement to be proxied. sql SQL string.
Returns: Prepared statement proxy.