jetbrick-orm/src/main/java/jetbrick/dao/jdbclog/JdbcLogStatement.java
public static Statement getInstance(Statement stmt) {
        InvocationHandler handler = new JdbcLogStatement(stmt);
        ClassLoader cl = Statement.class.getClassLoader();
        return (Statement) Proxy.newProxyInstance(cl, new Class[] { Statement.class }, handler);
    }
public static Statement getInstance(Statement stmt) {
        InvocationHandler handler = new JdbcLogStatement(stmt);
        ClassLoader cl = Statement.class.getClassLoader();
        return (Statement) Proxy.newProxyInstance(cl, new Class[] { Statement.class }, handler);
    }
Creates a logging version of a Statement

@param stmt  - the statement
@return - the proxy