public Statement createStatement(int resultSetType, int resultSetConcurrency)
            throws SQLException {
        return new TimedStatement(connection.createStatement(resultSetType,
                resultSetConcurrency));
    }
Creates a new ProfiledConnection that wraps the specified connection.

@param connection the Connection to wrap and collect stats for.
xmppserver/src/main/java/org/jivesoftware/database/ProfiledConnection.java