The _
(underscore) given in the SQL
query is not honored.
Example :
SELECT * FROM employee WHERE NAME LIKE '%k_p%';
This matches and brings many rows apart from rows which contain k_p
Could someone please assist on how to achieve this in SQL
and also in Hibernate
? Thanks.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…