Postgresql – Java PreparedStatement Error: "Cannot resolve query parameter '2' and '3'"
I am tyring to override a borrowBook interface. What is wrong with my code? Why there are errors such: Cannot resolve query parameter '2' and Cannot resolve query parameter '3'. @Override public void borrowBook(int bookId) throws SQLException { Date currentDate…