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:
Marc Prud'hommeaux 2007-01-19 04:21:13 +00:00
parent 7f2613e394
commit b37a0f0ecf
1 changed files with 3 additions and 3 deletions

View File

@ -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";