Interface UserInfoRepository

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

@Repository public interface UserInfoRepository extends org.springframework.data.jpa.repository.JpaRepository<UserInfo,UUID>
Repository interface for managing UserInfo entities.
  • Method Summary

    Modifier and Type
    Method
    Description
    Finds a UserInfo record by its email.

    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

    • findByEmail

      Optional<UserInfo> findByEmail(String email)
      Finds a UserInfo record by its email.
      Parameters:
      email - the email of the user
      Returns:
      an Optional containing the UserInfo if found, or empty if not found