Details
Description
I have the following mapping:
class TopicTranslation
{
/**
* @ORM\Id
* @ORM\ManyToOne(targetEntity="Topic")
*/
private $topic;
/**
* @ORM\Id
* @ORM\Column(type="string", length=5)
*/
private $locale;
}
Doctrine will only use "locale" as primary key for the table. I would expect it to use "topic_id" and "locale" instead.
Fixed in D 2.1