In a Hibernate with SpringJPA I setup Spring by using the @AutoWire annotation for the DAO service implementation.
Assume I want to avoid the @Autowire Annotation: How do I have to specify
the bean in applicationContext.xml then?
It must be something like:
<bean id=myService" class="com.aaa.bbb.ccc.service.testADDImpl">
<property name="dao" ref="myService"/>
....
</bean>
Can anybody help?
Is there a SpringJPA specialized sub-forum?
Peter


Reply With Quote