title: Executing an update/delete query in the JQPL query
body: <p>I have the insert query in JPQL like this:</p>
  
  <pre><code>@Modifying
      @Query(value = "insert into Product_Category (product_id, category_id , description , numberOfProduct, image, price ) values (:product_id, :category_id, :description, :numberOfProduct, :image, :price)", nativeQuery = true)
      void insertProduct(@Param("product_id") int product_id, @Param("category_id") int category_id,
              @Param("description") String description, @Param("numberOfProduct") int numberOfProduct,
              @Param("image") String image, @Param("price") int price);
  </code></pre>
  
  <p>I do not understend why this not work. I have this error:</p>
  
  <pre><code>javax.persistence.TransactionRequiredException: Executing an update/delete query
  </code></pre>