Created
March 29, 2024 01:17
-
-
Save httpmurilo/099015b51c8cdbeb2fc0158ed05f7259 to your computer and use it in GitHub Desktop.
IUserRepository.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
public interface IUserRepository extends JpaRepository<User, Integer> { | |
@Query("select u from User u where u.name =:nome ") | |
User getUserByName(String nome); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment