Commits

hani  committed 7bbed5e
  • Participants
  • Parent commits 669fd84

Comments (0)

Files changed (1)

File src/java/com/opensymphony/module/propertyset/database/JDBCPropertySet.java

             if (rows != 1) {
                 // ok, this is a new value, insert it
                 sql = "INSERT INTO " + tableName + " (" + colString + ", " + colDate + ", " + colData + ", " + colFloat + ", " + colNumber + ", " + colItemType + ", " + colGlobalKey + ", " + colItemKey + ") VALUES (?, ?, ?, ?, ?, ?, ?, ?)";
-                ps.close();  // previous ps, before reassigning reference.
+                ps.close(); // previous ps, before reassigning reference.
                 ps = conn.prepareStatement(sql);
                 setValues(ps, type, key, value);
                 ps.executeUpdate();