The mentioned class is in the jpa-container-eclipselink adapter. The
project is in the SVN of aries (maybe in maven repo as well). I used
it when aries was in version 0.3 a lot and it worked well when I used
the transaction manager of aries (that uses the code of geronimo) or
the one coming from Glassfish.

I recommend to compile the code of that project yourself in the way
that you set the dependency version of aries that you use.

However, since a year we discontinued to use Eclipselink as it was too
buggy and switched to hibernate so I cannot really give you a sample.

2013.07.01. 13:44, "Sébastien Nicouleau" <[email protected]> ezt írta:
>
> Thanks , I thought it.
> But , If i add this line in my persistence.xml /properties :   <property 
> name="eclipselink.target-server" 
> value="org.apache.aries.jpa.eclipselink.adapter.platform.OSGiTSServer"/>
> I have a ClassNotfoundException, and I actived the DynamicImport-Package to 
> be sure.
>
> OSGiTSServer is in a special bundle ?
>
> > Date: Mon, 1 Jul 2013 12:14:14 +0200
> > Subject: Re: EclipseLink not flush transaction
> > From: [email protected]
> > To: [email protected]
> >
> > I do not know if it is still necessary but there is an
> > aries-jpa-eclipselink project (you can find it in SVN).
> >
> > In your case the problem might be that the eclipselink.target-server
> > property is not set. See the class
> > https://svn.apache.org/repos/asf/aries/trunk/jpa/jpa-container-eclipselink-adapter/src/main/java/org/apache/aries/jpa/eclipselink/adapter/PersistenceUnitProxyWithTargetServer.java
> > where the mentioned property gets the value
> > org.apache.aries.jpa.eclipselink.adapter.platform.OSGiTSServer.
> >
> >
> > On 7/1/13, Sébastien Nicouleau <[email protected]> wrote:
> > > I made tests with EclipseLink 2.4.1, everything works except that the
> > > transaction never flush.The same configuration works with OpenJPA
> >
> >
> > --
> > Balazs Zsoldos
> > Software Architect
> > Mobile: +36-70/594-92-34
> >
> > Everit Kft.
> > https://www.everit.biz
> >
> > Everit OpenSource
> > http://everit.org

Reply via email to