Bug 296063 - [OSGi] Synchronize Class List does not consider Entities in required bundles/projects
Summary: [OSGi] Synchronize Class List does not consider Entities in required bundles/...
Status: NEW
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: JPA (show other bugs)
Version: 2.3   Edit
Hardware: PC Windows XP
: P2 enhancement (vote)
Target Milestone: Future   Edit
Assignee: Neil Hauge CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2009-11-24 16:32 EST by Shaun Smith CLA
Modified: 2013-10-08 11:07 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.