openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Milinda Pathirage <milinda.pathir...@gmail.com>
Subject Re: OSGi Aware Persistence Provider implementation
Date Thu, 29 Oct 2009 09:49:44 GMT
Hi all,
I have another question. Is there any plan for fixing OpenJPA 1.3.x
compilation failures in JDK 1.6

Thanks
Milinda

On Thu, Oct 29, 2009 at 3:00 PM, Milinda Pathirage <
milinda.pathirage@gmail.com> wrote:

> We are currently using OpenJPA 1.1.0 in equinox OSGi container by making it
> a fragment of the bundle which use it to fix the issue of loading
> persistence.xml. Now we want to use OpenJPA in two different OSGi bundles
> and fragment hack will not work in this situation. Current 1.3.x OpenJPA
> implementation also doesn't support OSGi aware resource loading. We can fix
> this by following the method use by Eclipselink. In this method what we have
> to do is implement a OSGi aware Persistence Provider by extending the
> current Persistence Provider implementation and introduce bundle activator
> to register persistence provider service at bundle activation. This will not
> break the existing functionality of OpenJPA in J2SE environment and improve
> the support for OSGi containers.
>
> Are there any plans to add OSGi support, if there any I would like to help.
> I'll provide a patch ASAP for this.
>
> Thanks
> Milinda
>
> --
> Milinda Pathirage
> Senior Software Engineer & Product Manager WSO2 BPS; http://wso2.org/bps
> WSO2 Inc.; http://wso2.com
> E-mail: milinda@wso2.com, milinda.pathirage@gmail.com
> Web: http://mpathirage.com
> Blog: http://blog.mpathirage.com
>



-- 
Milinda Pathirage
Senior Software Engineer & Product Manager WSO2 BPS; http://wso2.org/bps
WSO2 Inc.; http://wso2.com
E-mail: milinda@wso2.com, milinda.pathirage@gmail.com
Web: http://mpathirage.com
Blog: http://blog.mpathirage.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message