mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-10-10 00:59:01 +00:00
SPR-7858
Updating references to @Resource usage git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4759 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
@@ -87,7 +87,7 @@ public class SomeMovieFinder implements MovieFinder {
|
||||
<interfacename>DataSource</interfacename>; a JPA-based repository will need
|
||||
access to an <interfacename>EntityManager</interfacename>. The easiest way
|
||||
to accomplish this is to have this resource dependency injected using one of
|
||||
the <interfacename>@Autowired,</interfacename>
|
||||
the <interfacename>@Autowired,</interfacename>, <interfacename>@Inject</interfacename>,
|
||||
<interfacename>@Resource</interfacename> or
|
||||
<interfacename>@PersistenceContext</interfacename> annotations. Here is an
|
||||
example for a JPA repository:</para>
|
||||
|
||||
Reference in New Issue
Block a user