我在多级继承方面遇到了一些麻烦
/**
* @ORM\Entity
* @ORM\Table(name="et_date")
* @ORM\InheritanceType("JOINED")
* @ORM\DiscriminatorColumn(name="type", type="string")
* @ORM\DiscriminatorMap({"Relative" = "DateRelative", "Absolue" = "DateAbsolue"})
*/
class Date {}
/**
* @ORM\Entity
* @ORM\Table(name="et_date_absolue")
*/
class DateAbsolue extends Date{}
/**
* @ORM\Entity
* @ORM\Table(name="et_date_relative")
* @ORM\InheritanceType("SINGLE_TABLE")
* @ORM\DiscriminatorColumn(name="type", type="string")
* @ORM\DiscriminatorMap({"Inscription" = "DateRelativeInscription", "Devoir" = "DateRelativeDevoir"})
*/
class DateRelative extends Date {}
/**
* @ORM\Entity
* @ORM\Table(name="et_date_relative_inscription")
*/
class DateRelativeInscription extends DateRelative{}
我的 DateRelative 实体的鉴别器列不存在...