title: Spring-boot simplest way to express projections
body: <p>There are a simple way to use <code>@Projection</code> in this context?</p>
  
  <p>My <em>Report</em> entity have big fields (eg. a <em>content</em> field with a full HTML text) that I not need to deliver at the endpoint.</p>
  
  <pre class="lang-java prettyprint-override"><code>@Repository
  public interface IReportRepository extends BaseRepository&lt;Report, Long&gt; {
  
      List&lt;Report&gt; findAll();  // working fine... BUT with fields that not need
  
      @Query(nativeQuery = true, value= "SELECT id, acronym FROM report")
      List&lt;Object[]&gt; findSomeFields1();  // BAD JSON, no field name!
  
      @Query(nativeQuery = true, value= "SELECT id, acronym FROM report")
      List&lt;Map&gt; findSomeFields2();  // ERROR! Failed to convert
           // there are something as JSON Row Mapper?
  
  }
  </code></pre>
  
  <p>(them the <em>ReportController</em> deliver it as JSON at the endpoint, only it)</p>
  
  <p><strong>Instead a <code>@Query</code> I need to use <code>@Projection(...)</code></strong>... How to use it (the <strong>simplest</strong> way!)?</p>