Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

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);

}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Not #supported #DML #operations
ADD COMMENT
Topic
Name
3+4 =