Guest User

Untitled

a guest
Mar 22nd, 2018
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. package com.besuricata.rest.repositories;
  2.  
  3. import com.besuricata.rest.domain.Suricata;
  4. import org.springframework.data.jpa.repository.JpaRepository;
  5. import org.springframework.stereotype.Repository;
  6.  
  7. import java.util.Collection;
  8.  
  9. @Repository
  10. public interface SuricataRepository extends JpaRepository<Suricata, Long> {
  11.  
  12. Suricata findByName(String name);
  13.  
  14. Collection<Suricata> findAllByHeightGreaterThanEqual(Double height);
  15.  
  16. }
Add Comment
Please, Sign In to add comment