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

Hardy Ferentschik hardy at hibernate.org
Mon Feb 25 05:07:43 EST 2013


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


More information about the hibernate-dev mailing list