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 80296 - Entity Classes from DB: Available Tables not refreshed when the driver cannot be found
Summary: Entity Classes from DB: Available Tables not refreshed when the driver cannot...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-14 13:16 UTC by Andrei Badea
Modified: 2006-07-14 13:19 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 Andrei Badea 2006-07-14 13:16:54 UTC
1. Have a project with two data sources and remove the driver for one of them.
2. Invoke the Entity Classes from DB wizard.
3. Select the data source for which the driver can be found. The tables are
displayed in Available Tables.
4. Select the other data source. The "Cannot find driver" dialog is displayed.
Press OK in the dialog.

ERROR: Available Tables still lists the same tables, but it should be empty.
Comment 1 Andrei Badea 2006-07-14 13:19:49 UTC
Fixed.

cvs commit: Examining test/unit/src/org/netbeans/test/stub/spi
Checking in
src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/DatabaseTablesPanel.java;
/cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/Attic/DatabaseTablesPanel.java,v
 <--  DatabaseTablesPanel.java
new revision: 1.1.2.27; previous revision: 1.1.2.26
done