Commit 5373fed6 authored by Daniel Kim's avatar Daniel Kim
Browse files

asdf

parent cac8a940
......@@ -1253,7 +1253,7 @@ public class ClientApplication {
query = c.prepareStatement("insert into People values (?, ?, ?, ?, ?, ?, ?)");
query.setString(1, "nm" + maxId);
query.setString(2, values.get(name));
query.setString(2, values.containsKey(name) ? values.get(name) : "");
query.setString(3, values.containsKey(birthName) ? values.get(birthName) : "");
query.setInt(4, values.containsKey(height) ? Integer.parseInt(values.get(height)) : 0);
query.setString(5, values.containsKey(biography) ? values.get(biography) : "");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment