Blame view

src/main/java/fr/plil/sio/web/mvc/UserRepository.java 206 Bytes
aa193b2b   Julien Iguchi-Cartigny   First version
1
2
  package fr.plil.sio.web.mvc;
  
2070653e   Julien Iguchi-Cartigny   Switching to spri...
3
  import org.springframework.data.jpa.repository.JpaRepository;
aa193b2b   Julien Iguchi-Cartigny   First version
4
  
2070653e   Julien Iguchi-Cartigny   Switching to spri...
5
  public interface UserRepository extends JpaRepository<User, Long> {
aa193b2b   Julien Iguchi-Cartigny   First version
6
  
2070653e   Julien Iguchi-Cartigny   Switching to spri...
7
      User findByUsername(String username);
aa193b2b   Julien Iguchi-Cartigny   First version
8
  }