mirror of https://github.com/apache/openjpa.git
Fixed incorrect quoting of parameters in trim functions.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@497701 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7f2613e394
commit
b37a0f0ecf
|
@ -215,9 +215,9 @@ public class DBDictionary
|
|||
public String toUpperCaseFunction = "UPPER({0})";
|
||||
public String stringLengthFunction = "CHAR_LENGTH({0})";
|
||||
public String bitLengthFunction = "(OCTET_LENGTH({0}) * 8)";
|
||||
public String trimLeadingFunction = "TRIM(LEADING '{1}' FROM {0})";
|
||||
public String trimTrailingFunction = "TRIM(TRAILING '{1}' FROM {0})";
|
||||
public String trimBothFunction = "TRIM(BOTH '{1}' FROM {0})";
|
||||
public String trimLeadingFunction = "TRIM(LEADING {1} FROM {0})";
|
||||
public String trimTrailingFunction = "TRIM(TRAILING {1} FROM {0})";
|
||||
public String trimBothFunction = "TRIM(BOTH {1} FROM {0})";
|
||||
public String concatenateFunction = "({0}||{1})";
|
||||
public String concatenateDelimiter = "'OPENJPATOKEN'";
|
||||
public String substringFunctionName = "SUBSTRING";
|
||||
|
|
Loading…
Reference in New Issue