Interface FineractEntityToEntityMappingRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<FineractEntityToEntityMapping,,Long> org.springframework.data.jpa.repository.JpaRepository<FineractEntityToEntityMapping,,Long> org.springframework.data.repository.ListCrudRepository<FineractEntityToEntityMapping,,Long> org.springframework.data.repository.ListPagingAndSortingRepository<FineractEntityToEntityMapping,,Long> org.springframework.data.repository.PagingAndSortingRepository<FineractEntityToEntityMapping,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<FineractEntityToEntityMapping>,org.springframework.data.repository.Repository<FineractEntityToEntityMapping,Long>
public interface FineractEntityToEntityMappingRepository
extends org.springframework.data.jpa.repository.JpaRepository<FineractEntityToEntityMapping,Long>
-
Method Summary
Modifier and TypeMethodDescriptionfindListByProductId(FineractEntityRelation relId, Long toId, Long fromId) 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
-
findListByProductId
@Query("select feem from FineractEntityToEntityMapping feem where feem.fromId= :fromId and feem.toId= :toId and feem.relationId= :relId") FineractEntityToEntityMapping findListByProductId(@Param("relId") FineractEntityRelation relId, @Param("toId") Long toId, @Param("fromId") Long fromId)
-