I have interface like this
@Repository
public interface CarRepository extends JpaRepository<Car, Long> {
}
In class adnotated @RestController Spring is able to wired with proper field.
But how can I do this if I want to create class without any adnotation in spring? I have to create implementation of this repository? If yes, can I do it like spring is?