Created
December 10, 2012 03:44
-
-
Save krams915/4248271 to your computer and use it in GitHub Desktop.
Spring Social UserRepository.java
This file contains hidden or 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 org.krams.repository; | |
| import org.krams.domain.User; | |
| import org.springframework.data.jpa.repository.JpaRepository; | |
| 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