Ideally, the repository should be injected into the service layer & the ... use:- Autowire annotation is used to Inject any class in Spring or SpringBoot .
確定! 回上一頁