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
Statut: | Closed | Début: | 12/02/2018 | |
---|---|---|---|---|
Priorité: | Normal | Echéance: | ||
Assigné à: | - | % réalisé: | 100% |
|
Catégorie: | Development | Temps passé: | - | |
Version cible: | TXM 0.8.0 |
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.
Historique
#1 Mis à jour par Matthieu Decorde il y a presque 7 ans
- % réalisé changé de 0 à 80
#2 Mis à jour par Sebastien Jacquot il y a plus de 6 ans
- Version cible changé de TXM 0.8.0a (split/restructuration) à TXM 0.8.0
#3 Mis à jour par Sebastien Jacquot il y a plus de 6 ans
- Statut changé de New à Closed
- % réalisé changé de 80 à 100