[hibernate-dev] JPA 2.1 API compiled with JDK 7!?

Steve Ebersole steve at hibernate.org
Mon Feb 25 13:09:13 EST 2013


Was not really a conscious decision, but keep in mind that:
1) JPA 2.1 is part of EE 7 which requires SE 7
2) Oracle Java SE 6 is past any support.

And see the discussion that took place on this list over a year ago 
about O/RM and the Java 6 javac bug

On 02/25/2013 04:07 AM, Hardy Ferentschik wrote:
> Hi,
>
> when trying to use
>
> <dependency>
>    <groupId>org.hibernate.javax.persistence</groupId>
>    <artifactId>hibernate-jpa-2.1-api</artifactId>
>    <version>1.0.0.Draft-10</version>
> </dependency>
>
> in Hibernate Validator I get an UnsupportedClassVersionError.
> Seems the API is compiled with JDK 7, which causes problems in the HV build.
> Is the use of Java 7 intentional for the JPA API? I don't think it is required, right?
>
> --Hardy
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev



More information about the hibernate-dev mailing list