3 개의 테이블을 만들고 싶습니다. 심포니 2와 독트린을 사용합니다. 확고한, 종류 및 종류 관계. 이 두 테이블에 manyToMany 관계가 있습니다.이 관계는 categoryRelation 테이블에 보관됩니다. 내 yml 매핑은;Doctrine2 연관 매핑 'ManyToMany'가 'targetEntity'속성을 누락했습니다. 예외
Firm:
// other columns
ManyToMany:
categories:
targetEntity: Category
joinTable:
name: category_relation
joinColumns:
firm_id:
referencedColumnName: id
inverseJoinColumns:
category_id:
referencedColumnName: id
Category:
// other columns
manyToMany:
firms:
targetEntity: Firm
mappedBy: categories
저에게이 오류 나는이 오류를 해결하려면 어떻게
The association mapping 'ManyToMany' misses the 'targetEntity' attribute.
을 제공? 답변 주셔서 감사합니다