+ 2
Explain @autowired in spring hibernate
give some example
4 Respostas
+ 26
In Spring, you can use @Autowired annotation to auto wire bean on the setter method, constructor or a field. Moreover, it can autowired property in a particular bean.
Include ‘AutowiredAnnotationBeanPostProcessor’
0
give some example
0
The Bean object in the Spring container is not created with the new operator. Spring will do it if necessary.
Example:
https://code.sololearn.com/clKg2ejgHbn9/?ref=app
0
thq