Rudimentary JDBC testing; writing everything to MySQL database