Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 313236 - Cannot cancel the persistence.xml Synchronize Class List process
Summary: Cannot cancel the persistence.xml Synchronize Class List process
Status: RESOLVED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: JPA (show other bugs)
Version: 2.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 M6   Edit
Assignee: Neil Hauge CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-17 16:20 EDT by Karen Butzke CLA
Modified: 2012-04-26 15:26 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karen Butzke CLA 2010-05-17 16:20:00 EDT
If you open a persistence.xml that has a lot of classes listed and attempt to 'Synchronize Class List'(via JPA Tools menu) you will notice that this process takes a long time to complete.  We do not handle a user attempting to Cancel this process.  We should also change the process to make it take less time.  We currently delete all the classes from the persistence.xml and then add them all back, we could do better than this.
Comment 1 Neil Hauge CLA 2011-07-01 16:26:59 EDT
Moving JPA specific bugs to new JPA component in bugzilla.
Comment 2 Neil Hauge CLA 2011-10-07 12:52:22 EDT
Targeting to Juno release.
Comment 3 Karen Butzke CLA 2012-04-26 15:26:54 EDT
This has been fixed as well as it's going to be. The job does not take nearly as long as it used to since we have now made it a batch job. You can cancel the process until we hit the code that adds the new specified class refs to the persistence unit context model. At that point we can't pass a progress monitor any further through our change support framework. This means that the "update" of the jpa project will not be cancellable.