Are there any rules for downvoting an answer?! AFAIK, you can/should downvote
- If the answer doesn't solve the OP's problem
- If the answer suggests the use of a incorrect method
- If the answer is totally baseless
Please have a look at this question and the answer which were posted on SO. The initial answer which was posted, asked the OP to change the method which was used. Honestly, I do not know much about mysql but the docs for Statement
suggested usage of executeUpdate()
for insert, update and delete statement and so I downvoted the answer and posted a comment saying the same.
To this the OP started saying that his answer is correct and I should revoke the downvote, in this comment. Also, the OP acknowledged that the proposed solution did not work. To this I asked the OP of the answer to explain why the change of method would solve the problem, but the answer poster did not do that and instead starting saying me that I have no right to downvote a correct answer.
I still haven't revoked my downvote though. Am I right in my stand? Was the answerer's claim right that I should revoke my downvote(which I certainly don't think so)?. Any suggestions on what can be done in such a cases?!
executeQuery
) or not (something else), and also in this case it's not related to true data tables. So I'm actually quite sure the answer is correct.executeQuery()
was the way go, I would have probably upvoted him as well.