@Override
	public boolean removeItem(String itemID) {
		Statement stmt = null;
		try {
			stmt = con.createStatement();

			if (itemID.length() == 9) { // item is a book
				stmt.executeUpdate("delete from Book where ISBN = " + itemID);
			} else if (itemID.length() == 8) { // item is a periodical
				stmt.executeUpdate("delete from Periodical where ISSN = "
						+ itemID);
			} else {
				return false;
			}
			return true;
		} catch (SQLException e) {
			e.printStackTrace();
			return false;
		} finally {
			if (stmt != null) {
				try {
					stmt.close();
				} catch (SQLException e) {
					e.printStackTrace();
				}
			}
		}
	}