mysema/querydsl — Issue #87: JPA templates using "like" need "escape" as well
Author: djimenez
Created: 2012-01-26 04:28:12+00:00
State: open

The querydsl-jpa unit tests don't cover using special characters _ or % in startsWith, contains, endsWith, etc. methods. When these are used, they are escaped, but the template doesn't include the escape clause which is necessary for the query to be valid and successful.

so two suggestions: add unit tests to cover these characters and add the escape to all templates that use like.