Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] EclipseLink 2.2 PersistenceProvider osgi registeration

Hi All,

I tried to move to EclipseLink 2.2. In our OSGi environment we track  "javax.persistence.spi.PersistenceProvider"  implementations and use them depending on our clients choices.  I can see  EclipseLink 2.2 is no more registering its  j.p.spi.PersistenceProvider (osgi) implementation.
 I read and understand the move towards integrating OSGi Enterprise (JPA  Persistence) using Gemini but we can't use it yet at our production stage, yet we need some new feature like: CascadeOnDelete.  So, If EclipseLink 2.2 is no more exposing its PersistenceProvider implementation but only osgi EMF and EMF Builder services, is it, then, safe to extend "org.eclipse.persistence.jpa.osgi.PersistenceProvider", and use it direclty to create  EM factories?

Thank you.

Ahmed Aadel
Software Change Management
remainsoftware.com

Back to the top