package com.github.vlsidlyarevich.unity.repository;


import com.github.vlsidlyarevich.unity.model.JobType;
import com.github.vlsidlyarevich.unity.model.Speciality;
import com.github.vlsidlyarevich.unity.model.Vacancy;
import org.springframework.data.neo4j.repository.GraphRepository;

import java.util.List;

public interface VacancyRepository extends GraphRepository<Vacancy> {

    List<Vacancy> findBySpeciality(Speciality speciality);

    List<Vacancy> findByJobType(JobType jobType);

    List<Vacancy> findByLocation(String location);
}

@@ -46,17 +46,16 @@
 itory;%0A%0A
-%0A
 import c
@@ -268,32 +268,82 @@
 GraphRepository;
+%0Aimport org.springframework.stereotype.Repository;
 %0A%0Aimport java.ut
@@ -352,16 +352,29 @@
 .List;%0A%0A
+%0A@Repository%0A
 public i

Remove stub/switch to neo4j