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 184492 - Delete multiple tables causes exceptions
Summary: Delete multiple tables causes exceptions
Status: RESOLVED DUPLICATE of bug 173956
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-19 18:33 UTC by gabryh
Modified: 2011-11-16 16:46 UTC (History)
1 user (show)

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 gabryh 2010-04-19 18:33:36 UTC
Deleting multiple tables that have foreign keys causes an exception in case Netbeans tries to first delete the referred table before the referring table.
For example, lets say we have two tables, A and B. A has a foreign key that points to table B. Selecting both tables and pressing the delete button will throw an exception and only B table will be deleted.

Suggested solution, just run over the selected tables two or three times and try to re-delete all tables. In most cases it will work. Any how, in case in the last try there are still errors an error message should be presented.
Comment 1 Jiri Rechtacek 2010-07-12 14:04:05 UTC
*** Bug 188349 has been marked as a duplicate of this bug. ***
Comment 2 Jiri Rechtacek 2010-11-02 18:28:03 UTC

*** This bug has been marked as a duplicate of bug 173956 ***