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 123022 - No RowSet name in the Query Editor
Summary: No RowSet name in the Query Editor
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Vancouvering
Depends on:
Blocks: 152870
  Show dependency tree
Reported: 2007-11-28 23:59 UTC by Dongmei Cao
Modified: 2008-11-18 13:13 UTC (History)
1 user (show)

See Also:
Exception Reporter:

Query Editor screen shot (49.17 KB, image/jpeg)
2007-11-29 00:01 UTC, Dongmei Cao
screenshot of QE after changes to show the table name in the tab (76.75 KB, image/gif)
2008-01-11 09:07 UTC, John Baker
Diff of changes to show the tablename in the tab (3.57 KB, text/plain)
2008-01-11 09:10 UTC, John Baker

Note You need to log in before you can comment on or make changes to this bug.
Description Dongmei Cao 2007-11-28 23:59:19 UTC
In the Query Editor, there is no indication which RowSet currently being editing on. Probably the RowSet name can be the
tab name, just like editing a java file.
Comment 1 Dongmei Cao 2007-11-29 00:01:13 UTC
Created attachment 53632 [details]
Query Editor screen shot
Comment 2 John Baker 2008-01-11 09:06:35 UTC
It's possible to show the table (name) corresponding to the rowset, being edited, but showing the rowset name may not be

Since the Query Editor is also used for designing a query, there isn't a straightforward way to determing the 
Query Editor was invoked from Visual Web and also obtain and set the rowset name.

I guess it's more meaningful if the rowset name appeared since the same table can be dropped more than once on a Visual
Web page and consequently a new name would be generated:  tripRowSet, tripRowSet1.

I'll attach diffs for showing just the table name in the tab (if acceptable)
Comment 3 John Baker 2008-01-11 09:07:30 UTC
Created attachment 54939 [details]
screenshot of QE after changes to show the table name in the tab
Comment 4 John Baker 2008-01-11 09:10:38 UTC
Created attachment 54940 [details]
Diff of changes to show the tablename in the tab
Comment 5 John Baker 2008-01-11 09:11:29 UTC
If the change proposed sounds ok, David, could you please review the diffs attached
Comment 6 David Vancouvering 2008-01-11 17:20:39 UTC
Could we extend the API to include a new version of the method used to invoke the query editor that includes the rowset
name?  Visual Web is the *primary* (and potentially the *only*) consumer of the VQE, so it seems a reasonable extension
to me.
Comment 7 David Vancouvering 2008-01-11 17:21:54 UTC
By the way, I really think this is an enhancement request, not a defect, and I don't think we should be focusing on this
right now...
Comment 8 John Baker 2008-01-11 23:53:45 UTC
Agree that this is an enhancement.  This can also be addressed in the next release, not 6.1
Comment 9 Petr Blaha 2008-11-18 13:13:27 UTC
Move visualsqleditor subcomponents below visualweb