What are the repercussions of using executeQuery rather than executeUpdate to update data in the database.
Thanks
executeQuery() returns a ResultSet, from which you have to retrieve the int result yourself. Moreover you have to close and release the resultset yourself.