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

Bug 362533

Summary: Generate Entities from Tables fails to create Java source files
Product: [WebTools] Dali JPA Tools Reporter: Anttix Mising name <Antti.Andreimann>
Component: JPAAssignee: Tran Le <tranle1>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: neil.hauge
Version: unspecified   
Target Milestone: 3.2 M7   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Anttix Mising name CLA 2011-10-31 17:16:58 EDT
Build Identifier: 20110615-0604

When generating entities from tables the list of classes is generated to persistence.xml but the Java source files are not created.

Installing "Eclipse Faceted Project Framework JDT Enablement" will fix the problem.

Unfortunately it's not pulled in by Dali Persistence Tools.

Reproducible: Always

Steps to Reproduce:
1. Install Eclipse Indigo for Java Developer
2. Install Dali Persistence tools from Help -> Install New Software
3. Create a connection to any database with existing tables
4. Enable JPA facet on a project and select the connection
5. Select JPA Tools -> Generate Entities from Tables
6. Choose a table and click finish

A new <class> line is added to persistence.xml but the source file is
not generated.
Comment 1 Tran Le CLA 2012-04-19 11:59:07 EDT
I can confirm that Dali have a hard dependency on the "Eclipse Faceted Project Framework JDT Enablement" buddle.