Package restapi.crud
Interface UserRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<UserEntity,,Long> org.springframework.data.jpa.repository.JpaRepository<UserEntity,,Long> org.springframework.data.repository.PagingAndSortingRepository<UserEntity,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<UserEntity>,org.springframework.data.repository.Repository<UserEntity,Long>
@Repository
public interface UserRepository
extends org.springframework.data.jpa.repository.JpaRepository<UserEntity,Long>
-
Method Summary
Modifier and TypeMethodDescriptionbooleanexistsByEmail(String email) booleanexistsByPhone(String phone) booleanexistsByUsername(String username) findByEmail(String email) findByPhone(String phone) findByUsername(String username) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, saveAll, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findOne
-
Method Details
-
findByUsername
-
findByEmail
-
findByPhone
-
existsByUsername
-
existsByEmail
-
existsByPhone
-