package br.holandajunior.workday.repositories;

import br.holandajunior.workday.models.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by holandajunior on 29/04/17.
 */
public interface IUserRepository extends JpaRepository< User, Long > {}

@@ -80,16 +80,27 @@
 .models.
+repository.
 User;%0Aim
@@ -279,10 +279,56 @@
 Long %3E %7B
+%0A%0A    User findByUsername( String username );%0A
 %7D%0A

Add into repository to find user by username