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

Summary: OQL support for multivalued return is broken
Product: profiler Reporter: J Bachorik <yardus>
Component: BaseAssignee: J Bachorik <yardus>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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