1 2 3 4 5 6 7 8 9 10
package etunicorn; import org.springframework.data.repository.CrudRepository; /** * Created by geoffrey on 29/01/17. */ public interface RoleRepository extends CrudRepository<Role, Long> { Role findByNom(String nom); }