Interface UserRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<UserEntity, Long>, org.springframework.data.jpa.repository.JpaRepository<UserEntity, Long>, org.springframework.data.repository.ListCrudRepository<UserEntity, Long>, org.springframework.data.repository.ListPagingAndSortingRepository<UserEntity, Long>, org.springframework.data.repository.PagingAndSortingRepository<UserEntity, Long>, org.springframework.data.repository.query.QueryByExampleExecutor<UserEntity>, org.springframework.data.repository.Repository<UserEntity, Long>
public interface UserRepository
extends org.springframework.data.jpa.repository.JpaRepository<UserEntity, Long>
Accesses persisted user accounts.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanexistsByUsername(String username) 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, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findAllByOrderByUsernameAsc
List<UserEntity> findAllByOrderByUsernameAsc() -
findByUsername
-
existsByUsername
-