jetbrick-orm/src/main/java/jetbrick/dao/jdbclog/JdbcLogResultSet.java
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