With your logic, a parameter of
“1 or 1=1” should then return all customers. It won’t, because it first is escaped in such a way that the or becomes ineffective. Try it in phpmyadmin:
SELECT * FROM Customer WHERE ID = 1 or 1=1
and then try it in jRDC2. This time no multiple sql statement executions, still different results. (you need to have more than one customer in the table in order for this to show properly)