UserRepository.java 294 Bytes
package fr.plil.sio.web.mvc;

import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserRepository extends JpaRepository<User, Long> {

    User findByUsername(String username);
    List<Dette> findDettesByUsername(String username);
    
    
}