com.ibatis.common.jdbc.logging
Class ResultSetLogProxy

java.lang.Object
  extended bycom.ibatis.common.jdbc.logging.BaseLogProxy
      extended bycom.ibatis.common.jdbc.logging.ResultSetLogProxy
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

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

ResultSet proxy to add logging


Field Summary
 
Fields inherited from class com.ibatis.common.jdbc.logging.BaseLogProxy
EXECUTE_METHODS, GET_METHODS, id, SET_METHODS
 
Method Summary
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] params)
           
static java.sql.ResultSet newInstance(java.sql.ResultSet rs)
          Creates a logging version of a ResultSet
 
Methods inherited from class com.ibatis.common.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
 

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.ResultSet newInstance(java.sql.ResultSet rs)
Creates a logging version of a ResultSet

Parameters:
rs - - the ResultSet to proxy
Returns:
- the ResultSet with logging