# Doctrine Associations werden nicht aufgelöst

**URL:** <https://forum.shopware.com/t/doctrine-associations-werden-nicht-aufgelost/23749>\
**Category:** Shopware 3.5\
**Tags:** programming\
**Created:** [22. November 2014 um 21:28 UTC](https://forum.shopware.com/t/doctrine-associations-werden-nicht-aufgelost/23749 "2014-11-22T21:28:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![codefritz](https://avatars.discourse-cdn.com/v4/letter/c/bc79bd/32.png) [@codefritz](https://forum.shopware.com/u/codefritz)\
**Post date:** [22. November 2014 um 21:28 UTC](https://forum.shopware.com/t/doctrine-associations-werden-nicht-aufgelost/23749/1 "2014-11-22T21:28:00Z")

</div>

Hallo ich habe zwei Assicoations in meinen Models definiert ` Client { public function \_\_construct() { $this-\>abos = new ArrayCollection(); } protected $id; /\*\* \* @ORM\OneToMany( \* targetEntity="Shopware\CustomModels\Joe\Abo", \* mappedBy="client") \* @var \Doctrine\Common\Collections\ArrayCollection \*/ protected $abos = null; } Abo { /\*\* \* @ORM\ManyToOne( \* targetEntity="Shopware\CustomModels\Joe\Client", \* inversedBy="abos" \* ) \* @ORM\JoinColumn(name="clientId", referencedColumnName="id") \*/ protected $client; } ` Leider werden die Assiciations nicht aufgelöst, sprich es wird nichts in der Tabelle angelegt. Auch die entsprechenden getter Funktionen funktionieren nicht. Danke!
