title: Query a postgres jsonb using spring jpa @query annotation
body: <p>I have create an hibernate userTypeData and succesfully mapped my object (called "data") to jsonb data type in postgres table. now, im trying to use a JpaRepository to query that jsonb column but without success. this is the code i use for the query: </p>
  
  <pre><code>public interface GenieEntityDao extends JpaRepository&lt;GenieEntity, Long&gt;, QueryByExampleExecutor&lt;GenieEntity&gt; {
  
    @Query(value = "SELECT e FROM from genie_entities e WHERE e.data -&gt;&gt; 'temp' = '30'", nativeQuery = true)
      public List&lt;GenieEntity&gt; findByTempBiggerThan(String temp);
  
  }
  </code></pre>
  
  <p>this is the exception i got:</p>
  
  <pre><code>org.springframework.dao.InvalidDataAccessApiUsageException: Unknown parameter position: 1; nested exception is java.lang.IllegalArgumentException: Unknown parameter position: 1
  </code></pre>
  
  <p>anybody knows how to query the jsonb column using @Query annotation?</p>