Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 313236

Summary: Cannot cancel the persistence.xml Synchronize Class List process
Product: [WebTools] Dali JPA Tools Reporter: Karen Butzke <karenfbutzke>
Component: JPAAssignee: Neil Hauge <neil.hauge>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: neil.hauge
Version: 2.3   
Target Milestone: 3.2 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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.