HHH-6915 - Restrictions.ilike(String propertyValue, Object value) does not correctly initialize LikeExpresison
This commit is contained in:
parent
3800a0e695
commit
13252afcff
|
@ -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 );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue