aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/iciql/UpdateColumnSet.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/iciql/UpdateColumnSet.java')
-rw-r--r--src/com/iciql/UpdateColumnSet.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/com/iciql/UpdateColumnSet.java b/src/com/iciql/UpdateColumnSet.java
index 55d3790..f2322e3 100644
--- a/src/com/iciql/UpdateColumnSet.java
+++ b/src/com/iciql/UpdateColumnSet.java
@@ -17,6 +17,7 @@
package com.iciql;
+
/**
* This class represents "SET column = value" in an UPDATE statement.
*
@@ -44,9 +45,9 @@ public class UpdateColumnSet<T, A> implements UpdateColumn {
}
public void appendSQL(SQLStatement stat) {
- query.appendSQL(stat, x);
- stat.appendSQL("=?");
- stat.addParameter(y);
+ query.appendSQL(stat, null, x);
+ stat.appendSQL("=");
+ query.appendSQL(stat, x, y);
}
}