]
Koen Aers reassigned JBIDE-18686:
---------------------------------
Assignee: Koen Aers
persistence.xml has an unexpected error marker when created with
Forge (CLI)
----------------------------------------------------------------------------
Key: JBIDE-18686
URL:
https://issues.jboss.org/browse/JBIDE-18686
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: forge, hibernate
Affects Versions: 4.2.0.Final
Reporter: Xavier Coulon
Assignee: Koen Aers
Fix For: 4.2.x, 4.3.x
When using Forge 2.12.1.Final from CLI in JBDS 8.0.0.Final, when setting up JPA using the
following command:{{jpa-setup --dbType MYSQL}},
the {{persistence.xml}} file is created but Eclipse (Dali) reports a problem because
{quote}
No persistence unit defined in META-INF/persistence.xm
{quote}
In fact, there is no such error. Trigger a new validation on the file fixes the problem.
Note: this problem does not occur with Forge wizards, as [~koen.aers] reported.