If somebody can help me solve the problem, I would be very grateful!
posted 4 years ago
You Used PreparedStatement getGeneratedKeys() which returns ResultSet object. ResultSet Need to be checked before using it. I mean before using ResultSet object you need to check whether data is exist or not.