Sidebar

What does this error mean: the given SQL statement produces an unxpected ResultSet object

0 votes
180 views
asked Mar 27 by rich-c-2789 (17,490 points)
The error:

"the given SQL statement produces an unxpected ResultSet object"

Was seen trying to call a stored procedure.  I am using a MariaDB database.

1 Answer

0 votes
If you see this error it is likely due to trying to call a stored procedure that returns a result set using pQuery.doUpdateQuery. Recommend using pQuery.callStoredProcedure instead.

We have only seen this error when using a MariaDB database with the 3.x JDBC client.
answered Mar 27 by rich-c-2789 (17,490 points)
edited Mar 27 by rich-c-2789
...