com.ibatis.common.jdbc.logging

Class ResultSetLogProxy

public class ResultSetLogProxy extends BaseLogProxy implements InvocationHandler

ResultSet proxy to add logging
Method Summary
ResultSetgetRs()
Get the wrapped result set
Objectinvoke(Object proxy, Method method, Object[] params)
static ResultSetnewInstance(ResultSet rs)
Creates a logging version of a ResultSet

Method Detail

getRs

public ResultSet getRs()
Get the wrapped result set

Returns: the resultSet

invoke

public Object invoke(Object proxy, Method method, Object[] params)

newInstance

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

Parameters: rs - the ResultSet to proxy

Returns: - the ResultSet with logging

Copyright © 2011. All Rights Reserved.