Thomas Kellerer wrote:
> At least executeUpdate() should not throw an exception.
Wrong, see the javadoc:
> Throws:
> SQLException - if a database access error occurs or the SQL statement returns a ResultSet object
Your SQL statement is returning a ResultSet object, so executeUpdate
correctly throws an exception.
Use executeQuery() or execute().
-O