org.castor.jdo.drivers

Class PreparedStatementProxy

public final class PreparedStatementProxy extends Object implements InvocationHandler

Proxy class for JDBC PreparedStatement class, to allow information gathering for the purpose of SQL statement logging.

Since: 1.0.4

Version: $Revision: 6310 $ $Date$

Author: Ralf Joachim

Constructor Summary
protected PreparedStatementProxy(PreparedStatement stmt, String sql)
Creates an instance of this class.
Method Summary
Objectinvoke(Object proxy, Method method, Object[] args)

Constructor Detail

PreparedStatementProxy

protected PreparedStatementProxy(PreparedStatement stmt, String sql)
Creates an instance of this class.

Parameters: stmt Prepared statement to be proxied. sql SQL string.

Method Detail

invoke

public Object invoke(Object proxy, Method method, Object[] args)
{@inheritDoc }
Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com