mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
FIX: correct behavior of "startsWith, "contains" etc (#1031)
* FIX: correct behavior of "startsWith" if string contains "like"-wildcards * Removed likeClasues with disabled escaping in database platforms as bind values are properly escaped now.
This commit is contained in:
committed by
Rob Bygrave
parent
a1f95bf25e
commit
bc74d35651
@@ -93,6 +93,11 @@ public class DefaultExpressionRequest implements SpiExpressionRequest {
|
||||
sql.append(" ");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String escapeLikeString(String value) {
|
||||
return queryRequest.escapeLikeString(value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Increments the parameter index and returns that value.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user