users@glassfish.java.net

Re: Eclipse Link

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Sat, 27 Feb 2010 21:02:31 +0100

are you using Glassfish V3 ?

if so, please update your project to use EclipseLink:

persistence.xml example:

<?xml version="1.0" encoding="UTF-8"?>
<persistence version="2.0"
        xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
        <persistence-unit name="arenapuj">
                <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
                <jta-data-source>jdbc/arena</jta-data-source>
                <properties>
                        <property name="eclipselink.ddl-generation" value="create-tables" />
                        <property name="eclipselink.logging.level" value="FINEST" />
                </properties>
        </persistence-unit>
</persistence>




On Sat, Feb 27, 2010 at 9:03 PM, <glassfish_at_javadesktop.org> wrote:
> Hi,
> I have specified in persistence.xml file TopLink as my persistence provider, but when I deploy the application to glassfish possible error messages point out that org.eclipse.persitence is used. Do anybody know why?
> Thanks for response
> [Message sent by forum member 'n3iep7cjzc' (ryskajakub_at_seznam.cz)]
>
> http://forums.java.net/jive/thread.jspa?messageID=389132
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>



-- 
------------------------------------------
   Felipe Gaścho
   10+ Java Programmer
   CEJUG Senior Advisor