public CallableStatement prepareCall(String sql, int i, int i1) throws SQLException {
        return new TimedCallableStatement(connection.prepareCall(sql, i, i1), sql);
    }
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