Hi Craig, Have a look at Dynamic Java's JPA bundle: http://dynamicjava.org/projects/dynamic-jpa
I've had some success with it in the past and it works some of the power of OSGi into JPA. Valery does a really good job providing examples and it's well worth having a look at some his other projects on the site. Regards, Ben Coughlan On 26/11/2009, at 1:21 AM, Craig Ricciuto wrote: > Hi. I've been trying for the past couple of days to get any kind of simple > example project working that uses JPA in an OSGi bundle being built with > Maven 2. > > I've tried searching to my hearts content. I've even searched this mailing > list and any similar questions were answered with links I've already looked > at. The main two links I see the most being: > http://lsd.luminis.nl/jpa-persistence-in-osgi-with-openjpa/ > http://lsd.luminis.nl/persistence-in-osgi-with-openjpa-part-2/ > > Now I know these are good resources but I'm still new to using OSGi and > those links don't use Maven but instead Ant, which I've never used before > except to try to build the projects that are linked on those two pages. Is > there anyone on here that could show me a Maven example using JPA in an OSGi > bundle (I'm using the Apache Felix Maven Bundle plugin to build the bundle). > > Craig

