title: Spring Boot and JPA 2.0
body: <p>I want to downgrade JPA versions and use JPA 2.0. Spring Boot's Data JPA starter comes with Hibernate 4.3 which supports JPA 2.1. According to the <a href="http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#build-tool-plugins-gradle-dependencies-without-versions" rel="nofollow">docs</a>, I should be able to do this in my build.gradle:</p>
  
  <pre><code>'org.hibernate:hibernate-entitymanager:4.2.16.Final'
  </code></pre>
  
  <p>However <a href="http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#appendix-dependency-versions" rel="nofollow">Hibernate 4.3</a> is still being used. And there is no way of changing the javax.persistence:hibernate-jpa dependency to </p>
  
  <pre><code>'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:1.0.1.Final'
  </code></pre>
  
  <p>Is this possible?</p>