title: How to set @param to method in spring data repository
body: <p>I am using spring data with embedded H2.
  I have create this method:</p>
  
  <pre><code>public interface PaletteRepository extends CrudRepository&lt;Palette, String&gt; {
      @Modifying
      @Transactional
      @Query(value="INSERT INTO PALETTE SELECT * FROM CSVREAD(:file)", nativeQuery = true)
      void initDataPalette(@Param("file") String file);
  }
  </code></pre>
  
  <p>but file param is all the time not set or null and I get this </p>
  
  <pre><code>Caused by: org.h2.jdbc.JdbcSQLException: Parameter "fileName" is not set; SQL statement:
  INSERT INTO PALETTE SELECT * FROM CSVREAD(?)
  </code></pre>
  
  <p>note that work :</p>
  
  <pre><code>@Query(value="INSERT INTO PALETTE SELECT * FROM CSVREAD('/file')", nativeQuery = true)enter code here
  </code></pre>