I don't have Oracle experience. However, since you haven't received any answers, I would dare to make the following suggestions. Try removing the enclosing parentheses from the line:
commandTextFormat += " (UPPER(COUNTRIES.NAME) LIKE '%' || :NAME || '%') ";
As shown below:
commandTextFormat += " UPPER(COUNTRIES.NAME) LIKE '%' || :NAME || '%' ";
Another suggestion; try enclosing the :NAME
param inside the %
commandTextFormat += " UPPER(COUNTRIES.NAME) LIKE '%:NAME%' ";
I hope that helps.
ichiban
2009-06-07 20:29:00