mirror of https://github.com/apache/openjpa.git
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:
parent
e4a94c6cf8
commit
ffd2a7bfed
|
@ -216,8 +216,7 @@ public final class SQLBuffer
|
|||
* Append a parameter value.
|
||||
*/
|
||||
public SQLBuffer appendValue(Object o) {
|
||||
_sql.append(o == null ? "NULL" : o.toString());
|
||||
return this;
|
||||
return appendValue(o, null, null);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue