| Convenient super class for JPA data access objects. Intended for
JpaTemplate usage. Alternatively, JPA-based DAOs can be coded
against the plain JPA EntityManagerFactory/EntityManager API.
Requires an EntityManagerFactory or EntityManager to be set,
providing a JpaTemplate based on it to subclasses. Can alternatively
be initialized directly via a JpaTemplate, to reuse the latter's
settings such as the EntityManagerFactory, JpaDialect, flush mode, etc.
This class will create its own JpaTemplate if an EntityManagerFactory
or EntityManager reference is passed in. A custom JpaTemplate instance
can be used through overriding createJpaTemplate .
author: Juergen Hoeller since: 2.0 See Also: JpaDaoSupport.setEntityManagerFactory See Also: JpaDaoSupport.setEntityManager See Also: JpaDaoSupport.createJpaTemplate See Also: JpaDaoSupport.setJpaTemplate See Also: org.springframework.orm.jpa.JpaTemplate |