package org.pdxfinder.repositories;

import org.pdxfinder.dao.OntologyTerm;
import org.pdxfinder.dao.Sample;
import org.springframework.data.repository.PagingAndSortingRepository;

/**
 * Created by csaba on 07/06/2017.
 */
public interface OntologyTermRepository extends PagingAndSortingRepository<Sample, Long> {

    OntologyTerm findById();

    OntologyTerm findByLabel();

    OntologyTerm findByUrl();

}

@@ -172,16 +172,66 @@
 ository;
+%0Aimport org.springframework.stereotype.Repository;
 %0A%0A/**%0A *
@@ -267,16 +267,28 @@
 17.%0A */%0A
+@Repository%0A
 public i
@@ -354,22 +354,28 @@
 ository%3C
-Sample
+OntologyTerm
 , Long%3E 

Add missing annotation