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 119667

Summary: Database connection node needs customizable display text
Product: db Reporter: rptmaestro <rptmaestro>
Component: CodeAssignee: Andrei Badea <abadea>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description rptmaestro 2007-10-22 16:34:29 UTC
Currently the database explorer shows connection nodes with the entire connection string as the node's display text. It
would be useful to have this display text customizable so that the user can provide a more friendly name.

For example instead of showing

    + [icon] jdbc:oracle:thin:@127.0.0.1:1521:pfd_local [pfd_db_user on PFD_APP_USER]
    + [icon] jdbc:oracle:thin:@somehostname:1521:pfd_dev [pfd_db_user on PFD_APP_USER]
    + [icon] jdbc:oracle:thin:@somehostname:1523:pfd_prod [pfd_db_user on PFD_APP_USER]
    + [icon] jdbc:oracle:thin:@somehostname:1525:pfd_test [pfd_db_user on PFD_APP_USER]

It could show something more abbreviated, like

    + [icon] PFD (Local)
    + [icon] PFD (Dev)
    + [icon] PFD (Prod)
    + [icon] PFD (Test)
Comment 1 rptmaestro 2007-10-22 16:37:34 UTC
The database connection string could be displayed in the rollover text. Currently the rollover text only shows "Database
Connection", which isn't very useful.
Comment 2 Andrei Badea 2007-10-23 11:28:11 UTC

*** This issue has been marked as a duplicate of 118124 ***