How to migrate usage of JpaTemplate from Spring 3.2 to 4.1.4?
问题 We currently have Spring 3.2.9.RELEASE configured and running (for a couples of years) and need to migrate to 4.1.4.RELEASE. We have an abstract DAO class that extends org.springframework.orm.jpa.support.JpaDaoSupport as well as other references to: org.springframework.orm.jpa.JpaCallback org.springframework.orm.jpa.JpaTemplate I've seen that JpaDaoSupport has been removed in Spring 4. I've removed references to the Jpa* classes and replaced with @PersistenceContext protected EntityManager