Bug 296063

Summary: [OSGi] Synchronize Class List does not consider Entities in required bundles/projects
Product: [WebTools] Dali JPA Tools Reporter: Shaun Smith <shaun.smith>
Component: JPAAssignee: Neil Hauge <neil.hauge>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P2 CC: brian.vosburgh, karenfbutzke, neil.hauge
Version: 2.3Keywords: helpwanted
Target Milestone: Future   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Shaun Smith CLA 2009-11-24 16:32:10 EST
As per the summary, if you "Synchronize Class List" only the Entities in the current JPA project are included.  Entities in projects that are in the "Plug-in Dependencies" library of the current project are not included.
Comment 1 Neil Hauge CLA 2010-01-25 16:37:59 EST
Adding this functionality would likely require user prompting on the sync action to determine whether the user wants to search outside of the project or not.  Searching outside of the project could result in a long wait, depending on the size of the dependent projects and JAR's (assuming we would also want to interrogate JAR files in and outside of the project).

Prompt could offer 3 choices:

(quick mock-up)
------

Synchronizing the persistence.xml could take several minutes depending on the size of your project(s).  Please select an option below:

- Workspace sync (Slower)
- Project Sync (Quicker)
- Cancel

(Remember this setting and don't ask me again)

------

Another option would be to have different context menu actions for the Workspace and Project syncs.
Comment 2 Neil Hauge CLA 2011-07-01 16:23:55 EDT
Moving JPA specific bugs to new JPA component in bugzilla.