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.
Summary: | Recreate Table: doesn't use currently used SCHEMA | ||
---|---|---|---|
Product: | db | Reporter: | dmladek <dmladek> |
Component: | Code | Assignee: | Andrei Badea <abadea> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 4.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
dmladek
2004-08-11 16:49:38 UTC
Because the grab structure does not contain information about schema, it is created in user's 'default' schema. I'm not sure, how it should work correctly, if the schema has to be the same. You can modify the create command available in dialog to add the correct schema. As we discuss with Radko, this action is confusing and Radko plan to remove it in the future. Setting target milestone to future. This seems to work. The current schema (the one the user is connected to) is used as the target schema for the recreated table. The only case when it doesn't work is when the Edit Table Script button is pressed -- the generated CREATE TABLE statement doesn't contain the schema. Fixed the CREATE TABLE statement when Edit Table Script is pressed. Checking in src/org/netbeans/modules/db/explorer/actions/RecreateTableAction.java; /cvs/db/src/org/netbeans/modules/db/explorer/actions/RecreateTableAction.java,v <-- RecreateTableAction.java new revision: 1.25.22.2; previous revision: 1.25.22.1 done |