Interface UserRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<User,
,Long> org.springframework.data.repository.Repository<User,
Long>
@Repository
public interface UserRepository
extends org.springframework.data.repository.CrudRepository<User,Long>
The UserRepository is a repository for User entities.
-
Method Summary
Modifier and TypeMethodDescriptionfindByEmail
(String email) This method returns a User entity with a given email.