If you're using Aries' JPA support, then it won't start up an entity manager for your bundle until a JPA provider (like OpenJPA) is available for it.
On Sun, May 27, 2012 at 4:04 PM, Balázs Zsoldos <[email protected]> wrote: > Hi, > > I checked the OpenJPA-OSGI possibilities and the following question came > into my mind: > > - Is it a requirement for OpenJPA that the OpenJPA bundle has to start > before the one that contains Entity classes? > > I know in live OSGI containers admins can play with start levels however it > makes life very hard if we have to always think in which order we want to > start our bundles. I did not have these problems with EclipseLink and > Hibernate (I had different ones :)). > > Is there any possibility that OpenJPA-OSGI relationship will be enhanced > somewhen in the way that no start ordering will matter and nor OpenJPA > specific compilation neither javaagent usage will be necessary? > > Regards, > Balazs Zsoldos > Software Architect > Mobile: +36-70/594-92-34 > > Everit Kft. > https://www.everit.biz > >
