Skip to content


DDC-2898: SQL-Table Prefixes example produces php notices with ManyToMany-Associations #3655

doctrinebot opened this Issue · 0 comments

2 participants


Jira issue originally created by user doev:


In class TablePrefix the line ...

if ($mapping['type'] == \Doctrine\ORM\Mapping\ClassMetadataInfo::MANYTOMANY) {

should be replaced by ...

if ($mapping['type'] == \Doctrine\ORM\Mapping\ClassMetadataInfo::MANYTOMANY && $mapping['isOwningSide']) {

@beberlei beberlei was assigned by doctrinebot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.