diff --git a/spring-framework-reference/src/dao.xml b/spring-framework-reference/src/dao.xml index 5ee0482694..ccf99a2018 100644 --- a/spring-framework-reference/src/dao.xml +++ b/spring-framework-reference/src/dao.xml @@ -81,9 +81,12 @@ public class SomeMovieFinder implements MovieFinder { } - Any DAO or repository need to access to a persistence resource, - depending on the persistence technology used. The easiest way to - accomplish this is to have this resource dependency injected using one of + Any DAO or repository implementation will need to access to a + persistence resource, depending on the persistence technology used; for + example, a JDBC-based repository will need access to a JDBC + DataSource; a JPA-based repository will need + access to an EntityManager. The easiest way + to accomplish this is to have this resource dependency injected using one of the @Autowired, @Resource or @PersistenceContext annotations. Here is an