title: JpaRepository native query not detecting parameters
body: <p>I am trying to write a native query in my SpringBoot application to get the closest location to any given coordinate. Following is the JpaRepository for the same:</p>
  
  <pre><code>@Repository
  public interface OfferRepository extends JpaRepository&lt;Offer, Long&gt; {
      @Query(value = "SELECT *, MIN(6371000 * acos( cos( radians(:latitude) ) * cos( radians( dest.latitude ) ) * cos( radians( dest.longitude ) - radians(:longitude) ) + sin( radians(:latitude) ) * sin( radians( dest.latitude ) ))) as  distance FROM offer dest GROUP BY dest.id having MIN(distance)",
              nativeQuery = true)
      Tuple getClosestOffer(double latitude, double longitude);
  }
  </code></pre>
  
  <p>The problem I am facing it that the passed latitude and longitude are not getting set in the query string. Instead they are replaced with question marks as seen below:</p>
  
  <pre><code>SELECT *, MIN(6371000 * acos( cos( radians(?) ) * cos( radians( dest.latitude ) ) * cos( radians( dest.longitude ) - radians(?) ) + sin( radians(?) ) * sin( radians( dest.latitude ) ))) as  distance FROM offer dest GROUP BY dest.id having MIN(distance)
  </code></pre>
  
  <p>I even tried with numbered parameters, but with same result. What am I doing wrong here? How to solve this?</p>