2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by masijade
0

Well the api docs say

Executes the given SQL statement, which returns a single ResultSet object.

for executeQuery and

Executes the given SQL statement, which may be an INSERT, UPDATE, or DELETE statement or an SQL statement that returns nothing, such as an SQL DDL statement.

for executeUpdate

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.