Doctrine2: OneToMany on mapped superclass

前端 未结 3 756
终归单人心
终归单人心 2020-12-19 01:08

My DB structure is as follows:

work:

  • CTI table Work
  • MappedSuperclass table AbstractImageWork which extends <
3条回答
  •  轮回少年
    2020-12-19 01:41

    In others cases happens when you declare @ORM\Entity in an abstract superior class instead of @ORM\MappedSuperclass

提交回复
热议问题