Not all identifier properties can be found in the ResultSetMapping
<p>I dont really what means the error that I put in the title:</p>

<p>This is how I build my query builder :</p>

<pre><code>$qb = $this-&gt;em-&gt;createQueryBuilder()
        -&gt;select('etablissement.numetb AS id')
        -&gt;addSelect("concat('Etablissement ', etablissement.numetb) AS name")
        -&gt;addSelect("etablissement.raisonsoc AS description")
        -&gt;addSelect("etablissement.datcreation AS datcreation")
        -&gt;addSelect("11 AS type")
        -&gt;addSelect("identity(etablissement.statut) AS statut")
        -&gt;from('MyBundle:MyEntity', 'etablissement')
        -&gt;orderBy('datcreation', 'DESC');
</code></pre>

<p>My repository is a service not linked to an entity (if it can help).</p>

<p>Can you explain what means this error ? and how to solve it ?</p>

<p>thank you</p>