title: Multiple columns in QueryDSL
body: <p>I'm trying to get a list of multiple columns from my table using QueryDSL, and automatically fill my DB object, like this example in an older manual:</p>
  
  <pre><code>List&lt;CatDTO&gt; catDTOs = query.from(cat)
      .list(EConstructor.create(CatDTO.class, cat.id, cat.name));
  </code></pre>
  
  <p>The problem is that it looks like the EConstructor class was removed in version 2.2.0, and all the examples I find now are like this:</p>
  
  <pre><code>List&lt;Object[]&gt; rows = query.from(cat)
      .list(cat.id, cat.name);
  </code></pre>
  
  <p>Which forces me to manually cast all the objects into my CatDTO class.</p>
  
  <p>Is there any alternative to this? Any EConstructor alternative?</p>