I my project I have to use the the latest version of JPA and Hibernate. I am trying to upgrade the project to use Hibernate 4.3 and JPA 2.1. I am not able to find any example of using Hibernate 4.3 and JPA 2.1 in a project.
My Project is based on the Maven and using the maven to build the project.
So, tell me the example of persistence.xml which is using the JPA 2.1 and Hibernate 4.3.0 or above.
Hibernate 4.3.x is now supporting the latest version of JPA 2.1.
You can check the example at the tutorial page: Hibernate 4.3 and JPA 2.1.
In the above example code you will find the persistence.xml file which is configured to use Hibernate 4.3 and JPA 2.1
Read more tutorials of Hibernate.