Interface ClientNonPersonRepository

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

public interface ClientNonPersonRepository extends org.springframework.data.jpa.repository.JpaRepository<ClientNonPerson,Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<ClientNonPerson>
  • Method Summary

    Modifier and Type
    Method
    Description
    findByClientId(Long clientId)
     

    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.jpa.repository.JpaSpecificationExecutor

    count, delete, exists, findAll, findAll, findAll, findBy, findOne

    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

    • findByClientId

      @Query("select clientNonPerson from ClientNonPerson clientNonPerson where clientNonPerson.client.id = :clientId") ClientNonPerson findByClientId(@Param("clientId") Long clientId)