How to escape underscore in the string query in hibernate and SQL?
Have you tried escaping it:
SELECT * FROM employee WHERE NAME LIKE '%k\_p%';
\_
instead of just _
.
Have you tried escaping it:
SELECT * FROM employee WHERE NAME LIKE '%k\_p%';
\_
instead of just _
.