Only for resource local persistence unit yes upgrading the api and provider. For managed units upgrade the provider on tomee 7
Le 15 sept. 2016 20:54, "Patel, Sanjay" <sanjay.pa...@nemours.org> a écrit : > Is there a way I can use JPA 2.1 implementation with Tomee 1.7.2? I get > below error. > > HTTP Status 500 - Request processing failed; nested exception is > org.springframework.dao.InvalidDataAccessApiUsageException: It seems that > you have the JPA 2.1 API but a JPA 2.0 implementation on the classpath!; > nested exception is java.lang.IllegalArgumentException: It seems that you > have the JPA 2.1 API but a JPA 2.0 implementation on the classpath! > > Thanks, > -Sanjay >