mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
Fix for #192 - Backslash literal in LIKE expression - Postgres (and H2, MySql) behaviour
This commit is contained in:
1 parent
6ed1f25e22
commit
5d09ca16d6
14 files changed
+152
-23
No files matched your search
@@ -39,6 +39,16 @@ public class DefaultExpressionRequest implements SpiExpressionRequest {
|
||||
return s == null ? logicalProp : s;
|
||||
}
|
||||
|
||||
/**
|
||||
* Append the database platform like clause.
|
||||
*/
|
||||
@Override
|
||||
public void appendLike() {
|
||||
sb.append(" ");
|
||||
sb.append(queryRequest.getDBLikeClause());
|
||||
sb.append(" ");
|
||||
}
|
||||
|
||||
/**
|
||||
* Increments the parameter index and returns that value.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user