Hi everyone - I have a fairly simple query with an 'IN' clause:
Code:
SELECT myObject.id, myObject.fk
FROM MyObject as myObject
WHERE myObject.zipCode in (:zipCodeList)
I have tried binding the following to :zipCodeList in my code, all of which returned no results and threw no errors:
1.) a comma delimited list of zipCodes
2.) a comma delimited list of single-quoted zip codes
3.) a List object containing String objects (the zip codes)
Any ideas how to get an HQL query with an IN clause to return some results?