Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
3.5.6
-
None
-
None
Description
PreparedStatement.executeQuery() should throw a SQLException for queries that do not return a ResultSet.
If you execute e.g. "INSERT INTO foo VALUES ('bar')" using MySQL's Connector/J, the driver throws an exception with the message "Statement.executeQuery() cannot issue statements that do not produce result sets.".