title: Using named parameters for method when I use @Query
body: <p>I am using spring-data-jpa, I want update something, I have annotated my method in PaySupplierSettleBillRepository as</p>
  
  <pre><code>public interface PaySupplierSettleBillRepository extends JpaRepository&lt;PaySupplierSettleBillEntity, Long&gt;,
          JpaSpecificationExecutor&lt;PaySupplierSettleBillEntity&gt; {
  
      @Modifying
      @Query("update PaySupplierSettleBillEntity p set p.payTime=:payTime,p.paymentOrder=:paymentOrder, p.transferTime=:transferTime, p.transferBank=:transferBank, p.transferOrder=:transferOrder, p.operatorName=:operatorName, p.remark=:remark where p.orderNumber=:orderNumber")
      int updatePayInfo(PaySupplierSettleBillEntity entity);
  }
  
  </code></pre>
  
  <p>I am getting following exception while starting</p>
  
  <pre><code>Caused by: java.lang.IllegalStateException: Using named parameters for method public abstract xxxxxx
  </code></pre>
  
  <p>how I fix it ? thinks.</p>