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 186577 - [69cat][javadb] When creating a new JavaDB database, the Java DB node is not updated
Summary: [69cat][javadb] When creating a new JavaDB database, the Java DB node is not ...
Status: RESOLVED WORKSFORME
Alias: None
Product: db
Classification: Unclassified
Component: Derby (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-24 07:32 UTC by esmithbss
Modified: 2011-10-26 14:35 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 esmithbss 2010-05-24 07:32:38 UTC
Product Version = NetBeans IDE Dev (Build 201005192201)
Operating System = Linux version 2.6.32-22-generic running on i386
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) Client VM 16.3-b01

When you create a new JavaDB database, the Java DB Node in the Services tree does not update to show the database existing.  The connection node is added to the tree, but the JavaDB node doesn't change.

The JavaDB Node should change to reflect the new database which has been created.

To reproduce, create a new JavaDB database.
Comment 1 Jiri Rechtacek 2010-06-01 12:11:48 UTC
It works for me, my steps:
1) Start NB6.9RC2
2) Open Databases node in Services tab
3) Open Java DB node
4) Invoke Create database...
5) Fill in form =>
New connection was added beside other connections, no subnode added in Java DB node.

Ubuntu 10.4., JDK1.6u18
Comment 2 esmithbss 2010-06-01 13:19:23 UTC
The problem is that the connection is made, but the subnode isn't created.

The subnose should be created if the database exists.
Comment 3 Jiri Rechtacek 2010-06-01 13:47:43 UTC
Well. It means Java DB doesn't contain subnodes for each existing databases, right. Now I understand the problem. Thanks
Comment 4 Jiri Rechtacek 2011-10-26 14:35:32 UTC
Works for me in recent builds on NB7.1. Reopen if the problem is still there.