public interface ClientResourcesetRelDao extends org.springframework.data.jpa.repository.JpaRepository<ClientResourcesetRel,java.lang.Long>, org.springframework.data.repository.PagingAndSortingRepository<ClientResourcesetRel,java.lang.Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<ClientResourcesetRel>, io.geewit.data.jpa.essential.repository.JpaBatchExecutor<ClientResourcesetRel>
| 限定符和类型 | 方法和说明 |
|---|---|
void |
deleteByClientId(java.lang.String clientId) |
void |
deleteById(java.lang.Long id) |
java.util.List<ClientResourcesetRel> |
findByClientId(java.lang.String clientId) |
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, saveAll, saveAllAndFlush, saveAndFlushcount, delete, deleteAll, deleteAll, deleteAllById, existsById, findById, savecount, exists, findAll, findOne@Transactional(rollbackFor=java.lang.Exception.class)
@Modifying(flushAutomatically=true,
clearAutomatically=true)
@Query(value="delete from ClientResourcesetRel rel where rel.id = :id")
void deleteById(@Param(value="id")
java.lang.Long id)
deleteById 在接口中 org.springframework.data.repository.CrudRepository<ClientResourcesetRel,java.lang.Long>@Query(value="select rel from ClientResourcesetRel rel where rel.clientId = :clientId") java.util.List<ClientResourcesetRel> findByClientId(@Param(value="clientId") java.lang.String clientId)
@Transactional(rollbackFor=java.lang.Exception.class)
@Modifying(flushAutomatically=true,
clearAutomatically=true)
@Query(value="delete from ClientResourcesetRel rel where rel.clientId = :clientId")
void deleteByClientId(@Param(value="clientId")
java.lang.String clientId)