summaryrefslogtreecommitdiffstats
path: root/src/com/iciql/TableInspector.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/iciql/TableInspector.java')
-rw-r--r--src/com/iciql/TableInspector.java11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/com/iciql/TableInspector.java b/src/com/iciql/TableInspector.java
index 51b2d69..a5b6dee 100644
--- a/src/com/iciql/TableInspector.java
+++ b/src/com/iciql/TableInspector.java
@@ -226,16 +226,7 @@ public class TableInspector {
ap.addParameter("name", table);
if (primaryKeys.size() > 1) {
- StatementBuilder pk = new StatementBuilder();
- pk.append("{ ");
- for (String key : primaryKeys) {
- pk.appendExceptFirst(", ");
- pk.append("\"");
- pk.append(key);
- pk.append("\"");
- }
- pk.append(" }");
- ap.addParameter("primaryKey", pk.toString());
+ ap.addParameter("primaryKey", primaryKeys);
}
// finish @IQTable annotation