diff options
Diffstat (limited to 'src/com/iciql/TableInspector.java')
-rw-r--r-- | src/com/iciql/TableInspector.java | 11 |
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 |