HHH-6915 - Restrictions.ilike(String propertyValue, Object value) does not correctly initialize LikeExpresison

This commit is contained in:
Steve Ebersole 2012-04-03 16:23:37 -05:00
parent 3800a0e695
commit 13252afcff
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ public class Restrictions {
if ( value == null ) {
throw new IllegalArgumentException( "Comparison value passed to ilike cannot be null" );
}
return ilike( propertyName, value.toString(), MatchMode.ANYWHERE );
return ilike( propertyName, value.toString(), MatchMode.EXACT );
}
/**