Created
February 6, 2021 16:19
-
-
Save rajj6/cfb2be5e2be990a53a9def13b9644c49 to your computer and use it in GitHub Desktop.
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.raj.repository; | |
import com.raj.model.User; | |
import org.springframework.data.jpa.repository.JpaRepository; | |
import org.springframework.stereotype.Repository; | |
@Repository | |
public interface UserRepository extends JpaRepository<User, Long> { | |
User findByEmail(String email); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment