In my case, with postgresql, i've overriden the PostgreSQL82Dialect#getLowercaseFunction with the following code :
@Override
public String getLowercaseFunction() {
return "lower_unaccent";
}
"lower_unaccent" function is defined in my DB to do lowercase(unaccent(string)), so I realy need that both side of conditions use "dialect.getLowercaseFunction()"
agree with this issue.
In my case, with postgresql, i've overriden the PostgreSQL82Dialect#getLowercaseFunction with the following code :
@Override
public String getLowercaseFunction() { return "lower_unaccent"; }
"lower_unaccent" function is defined in my DB to do lowercase(unaccent(string)), so I realy need that both side of conditions use "dialect.getLowercaseFunction()"