users@glassfish.java.net

Re: GlassFish 2.1.1 - TopLink (JPA1) Persistence Exception 7106 - Mistery....

From: <glassfish_at_javadesktop.org>
Date: Fri, 02 Jul 2010 00:03:08 PDT

you should consider replacing toplink essentials with EclipseLink (on GFv2.1 we got best results with EclipseLink 1.0.2).

Toplink Essentials is flawed and IMO unusable.

Just place the eclipselink.jar in the /lib subdirectory of your domain, and then put the following line in your domain.xml:

<system-property name="com.sun.persistence.defaultProvider" value="org.eclipse.persistence.jpa.PersistenceProvider"/>
[Message sent by forum member 'batzee']

http://forums.java.net/jive/thread.jspa?messageID=476615