Bug 234628 - ui not updated if you quickly type in or copy in a TableGenerator annotation
Summary: ui not updated if you quickly type in or copy in a TableGenerator annotation
Status: RESOLVED 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-05-29 09:50 EDT by Karen Butzke CLA
Modified: 2008-07-08 21:13 EDT (History)
1 user (show)

See Also:
neil.hauge: review+


Attachments
proposed patch - HEAD (4.94 KB, patch)
2008-06-11 12:16 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-05-29 09:50:03 EDT
In java select an Id mapping and view the TableGenerator section of the JPA details view

type in @TableGenerator(name="foo") without pausing or copy that code in to the source.  The UI updates to show the Table Generator check box as checked, but does not update the name.  Same problem exists for all the other TableGenerator settings as well as GeneratedValue and SequenceGenerator.  Select another mapping and come back and the UI is populated, or type more in to the name element after pausing to allow the JPA model to update to the java changes.
Comment 1 Karen Butzke CLA 2008-06-10 11:06:05 EDT
probably a low risk, simple fix for 2.0.1
Comment 2 Karen Butzke CLA 2008-06-11 12:16:46 EDT
Created attachment 104497 [details]
proposed patch - HEAD

This patch fixes the problem for generators on java id mappings.  I have tested the other locations for generators and they do not have the same problem. (java entity, xml entity, xml id, xml entity-mappings)
Comment 3 Karen Butzke CLA 2008-07-08 21:13:26 EDT
checked in to HEAD, haven't branched for 2.0.1 yet