This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 158059 - OQL support for multivalued return is broken
Summary: OQL support for multivalued return is broken
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-06 09:41 UTC by J Bachorik
Modified: 2009-06-09 11:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description J Bachorik 2009-02-06 09:41:12 UTC
When using an OQL query like this:
select { name: t.name? t.name.toString() : "null", thread: t } 
    from instanceof java.lang.Thread t

gives no results whatsoever
Comment 1 J Bachorik 2009-02-06 13:21:12 UTC
This was basically caused by the fact that the multi-valued result was passed to java as a javascript associative array.
Added a code to handle this situation - http://hg.netbeans.org/profiler-main/rev/36633f301778
Comment 2 Quality Engineering 2009-02-08 19:28:45 UTC
Integrated into 'main-golden', will be available in build *200902081401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/36633f301778
User: Jaroslav Bachorik <yardus@netbeans.org>
Log: #158059 - adding support for multi-valued return from OQL query
Comment 3 matusdekanek 2009-06-09 11:02:48 UTC
works, marking verified