What's the problem with deleting a row from database?
问题 I want to delete a row from my database, but it doesn't work. I've got 2 exception: - NumberFormatException: null (it's for the parseInt part in the Servlet) - PSQLException: ERROR: relation "patients" does not exist... but it does exist! Can u help me to solve my problem? DB.java (just the method) public int deletePatient(int patID) { try { if (conn != null) { String delete = "DELETE FROM \"Patients\" WHERE Patients.PatientID = ?"; PreparedStatement pstmt = conn.prepareStatement(delete);