com.ibatis.common.jdbc.logging
Class ResultSetLogProxy

java.lang.Object
  extended by com.ibatis.common.jdbc.logging.BaseLogProxy
      extended by com.ibatis.common.jdbc.logging.ResultSetLogProxy
所有已实现接口:
java.lang.reflect.InvocationHandler

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

ResultSet proxy to add logging


字段摘要
 
Fields inherited from class com.ibatis.common.jdbc.logging.BaseLogProxy
EXECUTE_METHODS, GET_METHODS, id, SET_METHODS
 
方法摘要
 java.sql.ResultSet getRs()
          Get the wrapped result set
 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
 
类方法继承: com.ibatis.common.jdbc.logging.BaseLogProxy
clearColumnInfo, getColumn, getColumnString, getNextId, getTypeString, getValueString, removeBreakingWhitespace, setColumn
 
类方法继承: java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

方法详细信息

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method method,
                               java.lang.Object[] params)
                        throws java.lang.Throwable
规范说明:
invoke in interface java.lang.reflect.InvocationHandler
抛出异常:
java.lang.Throwable

newInstance

public static java.sql.ResultSet newInstance(java.sql.ResultSet rs)
Creates a logging version of a ResultSet

参数:
rs - - the ResultSet to proxy
返回:
- the ResultSet with logging

getRs

public java.sql.ResultSet getRs()
Get the wrapped result set

返回:
the resultSet