You should be able to “roll back” the version of Hibernate that is being used on the project to Hibernate 3.2 which should solve the JPA version issue.
If you used the defaults during scaffolding, you should have a classpath container on the project that is Named Hibernate XXX.
Remove this classpath container from your project and then right click on the project and select.
MyEclipse / Add Spring Runtime Dependencies
This should bring up the panel with the list of all of the Classpath containers that we configure.
Select the Spring 2.5 radio button which will change the contents of the List to reflect older versions of the dependent libs.
Click the Uncheck All button and then go and specifically check Hibernate.
This should roll your hibernate version back to the JPA 1.x support.
You may also need to remove the Validation API classpath container if it is on your project and add the hibernate-validator-4.1.0.Final.jar manually to your classpath.
you should be able to find this jar file here:
https://maven.atlassian.com/content/repositories/jboss-releases/org/hibernate/hibernate-validator/4.1.0.Final/
I believe that should do it.
Depending on which app server you are using you may also have a few additional steps.
Please let me know if run into any other issues along the way that you aren’t able to resolve.
Also, please let me know which App Server you are working with if you need further assistance.
Thanks,
Jack