Closed Tcharl closed 8 years ago
I'd certainly be interested in seeing this implemented.
I have made a start trying to use deltaspike repository with pax-cdi, but so far haven't been able to successfully inject the repository. (I get a "WELD-001408: Unsatisfied dependencies ..." error at bundle start)
I will take a look at this, making an itest in the 'features' module, I'll also make a branch for this issue (maybe we must do some more wrappers).
I made a simple test here: https://github.com/OsgiliathEnterprise/net.osgiliath.parent/tree/master/net.osgiliath.framework/net.osgiliath.features.karaf-features/net.osgiliath.features.karaf-features.itests/net.osgiliath.features.karaf-features.itests.jpa.cdi.daos
Unfortunately it's failing with a NPE (so the junit test has been marked @Ignore ). Just have to investigate a little bit on this (if you have time, or when I'll have).
A simpler test (without Deltaspike) spawned the same error: https://github.com/OsgiliathEnterprise/net.osgiliath.parent/tree/master/net.osgiliath.framework/net.osgiliath.features.karaf-features/net.osgiliath.features.karaf-features.itests/net.osgiliath.features.karaf-features.itests.jpa.pax
no more needed: replaced by a combination of blueprint maven plugin and Aries-jpa 2
As the migration to pax-jdbc has been done, it could be nice to replace (or add a new) the blueprint/spring-data based jpa module by a deltaspike-jpa/deltaspike-data/pax-jpa one