ICS311 database structure java JDBC