Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362533 - Generate Entities from Tables fails to create Java source files
Summary: Generate Entities from Tables fails to create Java source files
Status: CLOSED WORKSFORME
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: JPA (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.2 M7   Edit
Assignee: Tran Le CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-31 17:16 EDT by Anttix Mising name CLA
Modified: 2012-04-19 11:59 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 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.