If I don't care about the number of rows updated, is there any advantage gained by using java.sql.Statement#executeUpdate() instead of java.sql.Statement#execute() for an UPDATE statement?
2 Answers
My opinion is that there is no difference.
You will not find in any document about the Statement class that states that there is a performance difference between the two commands. Also as discussed in OTN people agree that there is no difference between the two.