Hi,
I haven't tried it myself, but I guess you should be able to add the
Eclipselink jars either to the Tomcat/OpenEJB lib directory, or to your
application and reference
org.eclipse.persistence.jpa.PersistenceProvider in your persistence.xml
- does that work? If it doesn't do you have an error or stacktrace that
you can share?
Jon
On 17/02/2011 20:11, Marcux wrote:
hi
how can I use OpenEJB with Eclipselink
(org.eclipse.persistence.jpa.PersistenceProvider)? OpenEJB always uses the
OpenEJB JtaManager... thing and that uses the OpenJPA EntityManager (and
breaks my EJB 3.0 program). I've developed the program without OpenEJB,
using (the worst JPA 1.0 implementing) Eclipselink. Now I want to switch to
OpenEJB. I use DataSources and CMP.
Regards
Marcux
versions: OpenEJB 3.1.4 (OpenJPA 1.2.1 - why so old?), Eclipselink 1.1.2,
PostgreSQL 8.4, Windows Vista, Eclipse Galileo, Gradle 0.9.2.