org.castor.jdo.drivers
Class PreparedStatementProxy
java.lang.Object
org.castor.jdo.drivers.PreparedStatementProxy
- InvocationHandler
public final class PreparedStatementProxy
extends java.lang.Object
implements InvocationHandler
Proxy class for JDBC PreparedStatement class, to allow information gathering
for the purpose of SQL statement logging.
Object | invoke(Object proxy, Method method, Object[] args) -
|
PreparedStatementProxy
protected PreparedStatementProxy(PreparedStatement stmt,
String sql)
Creates an instance of this class.
stmt
- Prepared statement to be proxied.sql
- SQL string.
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com