users@glassfish.java.net

Re: Problems with Glassfish V3, Hibernate and log4j [SOLVED]

From: Dominik Dorn <dominik.dorn_at_gmail.com>
Date: Thu, 11 Feb 2010 16:19:48 +0100

why are you using this, if you want to build an ee6 app?

On Thu, Feb 11, 2010 at 1:23 PM, <glassfish_at_javadesktop.org> wrote:
> <dependency>
>        <groupId>org.apache.openejb</groupId>
>        <artifactId>javaee-api</artifactId>
>        <version>5.0-2</version>
>        <scope>provided</scope>
> </dependency>

I'm always using this

        <dependency>
            <groupId>javax</groupId>
            <artifactId>javaee-api</artifactId>
            <version>6.0</version>
            <scope>provided</scope>
        </dependency>

also for javaee6 the current hibernate impl which supports jpa2 is 3.5.xx (beta)
3.4. is still old, as far as I know.

I would suggest to stick with the bundled eclipselink until hibernate
3.5. is stable.
you may as well try the beta
http://in.relation.to/14155.lace