title: Pomm Bundle same spl_object_hash but object different
body: <p>I use Pomm bundle for my symfony Project and i have a problem
  I have create a complex query and my result instance same object with different attributes.
  It's just for example but this request have relation one -> many </p>
  
  <p>I know that this request (1 -> many) is not correct from a relational point of view however I would like to understand how pomm bundle me generates twice the same object reference</p>
  
  <pre><code>public function getSousFamilleParametreListing(Where $condition = null,$locale='fr')
  {
  
  $sql ="
  select
      {projection}
  from
      {sousfamilleparametre} sfp
      inner join {parametre} par ON sfp.\"Parametre\" = par.\"ID\"
      inner join {parametre_valeur} pav ON pav.\"Parametre\" = sfp.\"Parametre\"
      inner join {valeur} val ON pav.\"Valeur\" = val.\"ID\"
  
  where {condition}
      order by sfp.\"Niveau\", sfp.\"Pos\", pav.\"Pos\""
      ;
  
   $projection = $this-&gt;createProjection()
                      -&gt;setField('nom_param','par."Nom"','text')
                      -&gt;setField('type_param','par."Type"','text')
                      -&gt;setField('pos_valeur', 'pav."Pos"','text')
                      -&gt;setField('Valeur', 'val."ID"','text')
                      -&gt;setField('nom_valeur','val."Nom"','text')
                      -&gt;setField('couleur_valeur','val."ValCouleur"','text')
                      -&gt;setField('sur_mesure','val."SurMesure"','boolean');
  
  
  $parametre = $this-&gt;getSession()
                    -&gt;getModel(ParametreModel::class);
  
  $valeur = $this-&gt;getSession()
                 -&gt;getModel(ValeurModel::class);
  
  $parametre_valeur = $this-&gt;getSession()
                           -&gt;getModel(ParametrevaleurModel::class);
  
  $condition = (new Where)-&gt;andWhere($condition);
  
  
  $sql = strtr(
      $sql,
      [
          '{projection}'          =&gt; $projection-&gt;formatFieldsWithFieldAlias('sfp'),
          '{sousfamilleparametre}'=&gt; $this-&gt;structure-&gt;getRelation(),
          '{parametre}'           =&gt; $parametre-&gt;getStructure()-&gt;getRelation(),
          '{valeur}'              =&gt; $valeur-&gt;getStructure()-&gt;getRelation(),
          '{parametre_valeur}'    =&gt; $parametre_valeur-&gt;getStructure()-&gt;getRelation(),
          '{locale}'              =&gt; $locale,
          '{condition}'           =&gt; $condition,
      ]
  );
  
  return $this-&gt;query($sql,$condition-&gt;getValues(),$projection);
  }
  </code></pre>
  
  <p>And var_dump result :</p>
  
  <pre>
  <code>
  
           object(AppBundle\Entity\Model\MyDb1\PublicSchema\Sousfamilleparametre)#574 (2) {
        ["container":protected]=>
        array(11) {
          ["SousFamille"]=>
          int(8)
          ["Parametre"]=>
          int(375)
          ["Pos"]=>
          int(0)
          ["Niveau"]=>
          int(1)
          ["nom_param"]=>
          string(6) "TAILLE"
          ["type_param"]=>
          string(1) "6"
          ["pos_valeur"]=>
          string(1) "0"
          ["Valeur"]=>
          string(1) "7"
          ["nom_valeur"]=>
          string(2) "T1"
          ["couleur_valeur"]=>
          string(7) "#4F4FFF"
          ["sur_mesure"]=>
          bool(false)
        }
        ["status":"PommProject\ModelManager\Model\FlexibleEntity\FlexibleContainer":private]=>
        int(1)
      }
      string(32) "0000000067acae310000000004f8d20f"
      object(AppBundle\Entity\Model\MyDb1\PublicSchema\Sousfamilleparametre)#574 (2) {
        ["container":protected]=>
        array(11) {
          ["SousFamille"]=>
          int(8)
          ["Parametre"]=>
          int(375)
          ["Pos"]=>
          int(0)
          ["Niveau"]=>
          int(1)
          ["nom_param"]=>
          string(6) "TAILLE"
          ["type_param"]=>
          string(1) "6"
          ["pos_valeur"]=>
          string(1) "1"
          ["Valeur"]=>
          string(1) "8"
          ["nom_valeur"]=>
          string(2) "T2"
          ["couleur_valeur"]=>
          string(7) "#2424FF"
          ["sur_mesure"]=>
          bool(false)
        }
        ["status":"PommProject\ModelManager\Model\FlexibleEntity\FlexibleContainer":private]=>
        int(1)
      }
      string(32) "0000000067acae310000000004f8d20f"
  
  </code></pre>