OPENJPA-2099: Introduce bind parameter. Remove direct string appending to Select

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1222853 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Pinaki Poddar 2011-12-23 21:13:35 +00:00
parent e4a94c6cf8
commit ffd2a7bfed
1 changed files with 1 additions and 2 deletions

View File

@ -216,8 +216,7 @@ public final class SQLBuffer
* Append a parameter value. * Append a parameter value.
*/ */
public SQLBuffer appendValue(Object o) { public SQLBuffer appendValue(Object o) {
_sql.append(o == null ? "NULL" : o.toString()); return appendValue(o, null, null);
return this;
} }
/** /**