It's working.I copied the two classes (https://svn.apache.org/repos/asf/aries/trunk/jpa/jpa-container-eclipselink-adapter/src/main/java/org/apache/aries/jpa/eclipselink/adapter/platform/) in my project. Thanks for your help. From: [email protected] To: [email protected] Subject: RE: EclipseLink not flush transaction Date: Mon, 1 Jul 2013 13:43:58 +0200
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
