Bug #2343

Task #690: Reorganize TXM source code to better match the RCP development plug-ins system.

RCP: X.X, reconfigure eclipselink and JPA tools in the org.txm.annotation.core project

Ajouté par Matthieu Decorde il y a 9 jours.

Statut:New Début:12/02/2018
Priorité:Normal Echéance:
Assigné à:- % réalisé:

0%

Catégorie:Development Temps passé: -
Version cible:TXM 0.8

Description

the persistence.xml file was stored in the "org.txm.tbx" project, which worked fine.

But moving it to "org.txm.annotation.core" and setting the jpa path in the manifest file broke the configuration.

The EntityManagerFactory can not be created by the PersistenceProvider

PersistenceProvider.createEntityManagerFactory returns null with no error message even if debug logs are activated.

If persistence.xml is removed to "org.txm.tbx" project, then PersistenceProvider.createEntityManagerFactory works.

Formats disponibles : Atom PDF