Hibernate : Escape underscore character in like expression
Hello, A simple article concerning a problem encountred by several developers (including myself) who developing with Hibernate 3 search criteria. In SQL, in the following query: ...the underscore is not being considered because underscore is a wildcard for a single character in SQL. The query matches and bring many rows apart the rows which have "PERSON_1". Several solutions are possible for thath the ...more»