public static ResultSet getInstance(ResultSet rs) {
        InvocationHandler handler = new JdbcLogResultSet(rs);
        ClassLoader cl = ResultSet.class.getClassLoader();
        return (ResultSet) Proxy.newProxyInstance(cl, new Class[] { ResultSet.class }, handler);
    }
public static ResultSet getInstance(ResultSet rs) {
        InvocationHandler handler = new JdbcLogResultSet(rs);
        ClassLoader cl = ResultSet.class.getClassLoader();
        return (ResultSet) Proxy.newProxyInstance(cl, new Class[] { ResultSet.class }, handler);
    }
public static ResultSet getInstance ( ResultSet rs ) { InvocationHandler handler = new JdbcLogResultSet ( rs ) ; ClassLoader cl = ResultSet . class . getClassLoader ( ) ; return ( ResultSet ) Proxy . newProxyInstance ( cl , new Class [ ] { ResultSet . class } , handler ) ; }
Creates a logging version of a ResultSet

@param rs   - the ResultSet to proxy
@return - the ResultSet with logging
Creates a logging version of a ResultSet