Is @Autowired the same as extends?
Let's look at a small example:
package com.dendetech.services;
import com.dendetech.entity.Participante; import com.dendetech.repositories.PartnerRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service;
@Service public class ParticipantService {
@Autowired
private ParticipanteRepository participanteRepository;
/*
* Crud Operations
*/