I've been able to get EclipseLink to work against and embedded Derby instance 
within Felix working from the Equinox examples.

However, this is only when using the standard OSGi BundleActivator 
implementation, not when using iPojo.

As all the rest of my system is iPojo based I'd like to do the same for my data 
layer. However, because the EntityManagerFactory creation in my @Validate is 
being called by the iPojo factory the persistence.xml file isn't found. There's 
seems to be a requirement that needs the EntityManagerFactory be called within 
the same class loader that the persistence.xml file is available.

Thoughts on how to reconcile this issue?

________________________________

Joel Schuster
Senior Software Engineer
NAVSYS Corporation
14960 Woodcarver Road, Colorado Springs, CO 80921
719-481-4877



Reply via email to