com.ibatis.db.jdbc.logging
Class StatementLogProxy

java.lang.Object
  extended by com.ibatis.db.jdbc.logging.BaseLogProxy
      extended by com.ibatis.db.jdbc.logging.StatementLogProxy
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public class StatementLogProxy
extends BaseLogProxy
implements java.lang.reflect.InvocationHandler


Field Summary
private static org.apache.commons.logging.Log log
           
private  java.sql.Statement statement
           
 
Fields inherited from class com.ibatis.db.jdbc.logging.BaseLogProxy
executeMethods, getMethods, id, setMethods
 
Constructor Summary
private StatementLogProxy(java.sql.Statement stmt)
           
 
Method Summary
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] params)
           
static java.sql.Statement newInstance(java.sql.Statement stmt)
           
 
Methods inherited from class com.ibatis.db.jdbc.logging.BaseLogProxy
clearColumnInfo, getColumn, getColumnString, getNextId, getTypeString, getValueString, removeBreakingWhitespace, setColumn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static final org.apache.commons.logging.Log log

statement

private java.sql.Statement statement
Constructor Detail

StatementLogProxy

private StatementLogProxy(java.sql.Statement stmt)
Method Detail

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method method,
                               java.lang.Object[] params)
                        throws java.lang.Throwable
Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Throws:
java.lang.Throwable

newInstance

public static java.sql.Statement newInstance(java.sql.Statement stmt)