Bug 236743 - change schema does not update list of tables
Summary: change schema does not update list of tables
Status: VERIFIED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: General (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.0.1   Edit
Assignee: Karen Butzke CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-11 17:02 EDT by Karen Butzke CLA
Modified: 2008-08-21 17:50 EDT (History)
1 user (show)

See Also:
neil.hauge: review+


Attachments
proposed patch - 2_0_maintenance stream (16.79 KB, patch)
2008-07-23 11:28 EDT, Karen Butzke CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Karen Butzke CLA 2008-06-11 17:02:56 EDT
Select a java or xml Entity and choose a schema that is not the default schema for the project.  View the list of tables in the Table Name combo and notice that the options are still the tables in the default schema.  If you switch to another entity and come back, the UI will be updated with the proper list of tables.

Same problem with TableGenerator, SecondaryTable, and JoinTable
Comment 1 Karen Butzke CLA 2008-07-23 11:28:11 EDT
Created attachment 108210 [details]
proposed patch - 2_0_maintenance stream

Neil, this fix ended up being larger than I expected.  The only part that isn't straightforward is the secondary tables support.  I have tested this in java and xml and it really seems to clean up how we handle schemas in that add/remove dialog. Clean up for the end user, not the code :)
Comment 2 Karen Butzke CLA 2008-07-23 15:07:19 EDT
checked in to 2_0_maintenance and head
Comment 3 Neil Hauge CLA 2008-08-21 17:50:36 EDT
Verified in wtp-sdk-R-3.0.1-20080818032401.