Fetch/State error occurs if a query does not return row data.
You can use the CallableStatement.executeUpdate or execute methods rather than the executeQuery method.
As required by the JDBC standards, jConnect throws a SQL exception if executeQuery has no result sets.