I am trying to make a selection from a MySQL database using the syntax WHERE col LIKE \'%\' but I want to select even NULL values with that query. Is t
WHERE col LIKE \'%\'
NULL
Use COALESCE instead of IFNULL if you want to use it with java createQuery
WHERE COALESCE (xxx, '') LIKE '%'