Interface PocketAccountMappingRepository

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

public interface PocketAccountMappingRepository extends org.springframework.data.jpa.repository.JpaRepository<PocketAccountMapping,Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<PocketAccountMapping>
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor

    org.springframework.data.jpa.repository.JpaSpecificationExecutor.SpecificationFluentQuery<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    findByIdAndPocketId(Long id, Long pocketId)
     
    findByPocketId(Long pocketId)
     

    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, 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

    • findByIdAndPocketId

      @Query("select pam from PocketAccountMapping pam where pam.id = :id and pam.pocketId =:pocketId") PocketAccountMapping findByIdAndPocketId(@Param("id") Long id, @Param("pocketId") Long pocketId)
    • findByPocketId

      @Query("select pam from PocketAccountMapping pam where pam.pocketId =:pocketId") Collection<PocketAccountMapping> findByPocketId(@Param("pocketId") Long pocketId)