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

Added by Matthieu Decorde over 1 year ago. Updated 7 months ago.

Status:Closed Start date:02/12/2018
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:Development Spent time: -
Target version: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.

History

#1 Updated by Matthieu Decorde 10 months ago

  • % Done changed from 0 to 80

#2 Updated by Sebastien Jacquot 7 months ago

  • Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.0

#3 Updated by Sebastien Jacquot 7 months ago

  • Status changed from New to Closed
  • % Done changed from 80 to 100

Also available in: Atom PDF