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 133672

Summary: Alias isn't shown in query editor
Product: obsolete Reporter: Roman Mostyka <romanmostyka>
Component: visualwebAssignee: John Baker <jbaker>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Roman Mostyka 2008-04-22 15:14:32 UTC
1. Add MySQL DB.
2. Create web application with "Visual Web JSF" framework.
3. Add Table component to the page.
4. Click some table under MySQL DB node and then click designer. DataProvider and RowSet will be added.
5. Open RowSet and change query by adding aliases to some column and run query.

Result: Query return result set, but for columns actual column name are displayed.
After binding Table component to DataProvider, which is bound to this RowSet, table column have aliases as names. After
deployment the same. Column names should be the same in query editor, on designer and in browser.
Everything works this way for Java DB.
Comment 1 John Baker 2008-04-23 00:07:27 UTC
thanks for filing. but is covered by 129330 

*** This issue has been marked as a duplicate of 129330 ***
Comment 2 Roman Mostyka 2008-04-23 09:41:50 UTC
Issue #129330 is fixed, but only for binding with Table component and for displaying in browser.
But in query editor actual column names are still displayed. Therefore I opened this issue.
If you still think that this issue is duplicate, please then close it again as duplicate, but reopen issue #129330,
since in this case it isn't completely fixed.
Comment 3 Roman Mostyka 2008-04-23 15:59:21 UTC
This issue is fixed in trunk.
Comment 4 Roman Mostyka 2008-04-23 15:59:54 UTC
Verified with build 080423.