HHH-2997 LikeExpression case sensitive not working properly
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19026 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
229a57e8f5
commit
2796240cf5
|
@ -93,7 +93,7 @@ public class LikeExpression implements Criterion {
|
|||
Criteria criteria,
|
||||
CriteriaQuery criteriaQuery) throws HibernateException {
|
||||
return new TypedValue[] {
|
||||
criteriaQuery.getTypedValue( criteria, propertyName, value.toString().toLowerCase() )
|
||||
criteriaQuery.getTypedValue( criteria, propertyName, ignoreCase ? value.toString().toLowerCase() : value.toString() )
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue