Last active
May 1, 2018 20:34
-
-
Save lusabo/37ea075478390121b18e05b1fe635437 to your computer and use it in GitHub Desktop.
UserRepository
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.eco.security; | |
// Imports | |
@Repository | |
public interface UserRepository extends JpaRepository<User, Long> { | |
User findByUsername(String username); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment