Interface PlatformUserRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<PlatformUser,Integer>, org.springframework.data.jpa.repository.JpaRepository<PlatformUser,Integer>, org.springframework.data.repository.ListCrudRepository<PlatformUser,Integer>, org.springframework.data.repository.ListPagingAndSortingRepository<PlatformUser,Integer>, org.springframework.data.repository.PagingAndSortingRepository<PlatformUser,Integer>, org.springframework.data.repository.query.QueryByExampleExecutor<PlatformUser>, org.springframework.data.repository.Repository<PlatformUser,Integer>

@Repository public interface PlatformUserRepository extends org.springframework.data.jpa.repository.JpaRepository<PlatformUser,Integer>
Queries database regarding the PlatformUser entity.
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save

    Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

    deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush

    Methods inherited from interface org.springframework.data.repository.ListCrudRepository

    findAll, findAllById, saveAll

    Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findBy, findOne
  • Method Details

    • findPlatformUserByEmail

      @Query("SELECT pu FROM PlatformUser pu JOIN FETCH pu.userAccessStatus WHERE pu.email = ?1") Optional<PlatformUser> findPlatformUserByEmail(String email)