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 63873 - Connection used for creating database is visible in Runtime tab
Summary: Connection used for creating database is visible in Runtime tab
Status: RESOLVED INVALID
Alias: None
Product: db
Classification: Unclassified
Component: Derby (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-08 12:12 UTC by bakksjo
Modified: 2006-06-19 13:54 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 bakksjo 2005-09-08 12:12:56 UTC
In order to create a Derby database, a connection to the Derby server is created
with a url indicating a database name, and the parameter create=true. This is
the derby-specific way to create a new database.

After creating a database this way, the (now closed) connection that was used is
visible in the Runtime tab. There is no reason to show this connection, it will
only contribute to confusing the user.
Comment 1 ajacobs3 2006-06-18 03:56:02 UTC
Right click on the connection.  The options are "Connect",
"Properties", and "Delete".
The Properties window allows you to change the Database URL and User.  This is
very convenient if your database has multiple
schemas and users.
The state of the connection (Closed and Connected) is reflected in
the node.  It's a convenience to have the connection status
graphically displayed.
Users can delete the connection node if they so choose.
I would vote against fixing this "defect" if that were possible.
Comment 2 Andrei Badea 2006-06-19 13:54:06 UTC
This is how it is supposed to work. The user can right-click the connection and
choose connect, which will make a connection to the database and display the
database objects (tables, views, etc.) under the connection node.