Not supported for DML operations
public interface LimitRepository extends JpaRepository<CLimit, Long> {
@Transactional
@Modifying
@Query("delete from CLimit l where l.trader.id =:#{#trader.id}")
void deleteLimitsByTrader(@Param("trader") CTrader trader);
}
Are there any code examples left?
New code examples in category Java