not supported for dml operations

Solutions on MaxInterview for not supported for dml operations by the best coders in the world

showing results for - "not supported for dml operations"
Oskar
18 Oct 2020
1public interface LimitRepository extends JpaRepository<CLimit, Long> {
2
3  @Transactional
4  @Modifying
5  @Query("delete from CLimit l where l.trader.id =:#{#trader.id}")
6  void deleteLimitsByTrader(@Param("trader") CTrader trader);
7
8}
9