The TCK test OrderOfParameters has an error currently. The second query has "firstname == :param2 & lastname == :param1" (the opposite way around to the params in the first query), and thye parameter values for both queries are the same. As a result the result will be the same (the parameters are assigned to the values in the order they are encountered in the test). You should swap the values around if you want to get the expected result AFAIK.
-- Andy
