Commit 5d318548 authored by Daniel Kim's avatar Daniel Kim
Browse files

fix

parent 5373fed6
......@@ -728,6 +728,7 @@ public class ClientApplication {
String server, pwd, db;
// System.out.print("Enter the SQL server to connect to: ");
// server = input.nextLine();
// server = "127.0.0.1:3306";
server = "marmoset03.shoshin.uwaterloo.ca";
System.out.print("Enter username for the SQL server: ");
User = input.nextLine();
......@@ -1249,6 +1250,7 @@ public class ClientApplication {
maxId++;
query = c.prepareStatement("update MaxIDs set entityNum = ? where entityName = 'person'");
query.setInt(1, maxId);
query.executeUpdate();
query = c.prepareStatement("insert into People values (?, ?, ?, ?, ?, ?, ?)");
......
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