DDC-413: Exception: Illegal invocation of Doctrine\ORM\Persisters\JoinedSubclassPersister::_getSelectColumnListSQL on JoinedSubclassPersister. #516

Open
opened 2026-01-22 12:41:04 +01:00 by admin · 0 comments
Owner

Originally created by @doctrinebot on GitHub (Mar 12, 2010).

Jira issue originally created by user cloun:

I have many to many relationship where right entity is a class hierarchy (inheritance type = JOIN). Exception info:
BadMethodCallException: Illegal invocation of Doctrine\ORM\Persisters\JoinedSubclassPersister::_getSelectColumnListSQL on JoinedSubclassPersister.

\library\Doctrine\ORM\Persisters\JoinedSubclassPersister.php:430
\library\Doctrine\ORM\Persisters\StandardEntityPersister.php:815
\library\Doctrine\ORM\Persisters\StandardEntityPersister.php:603
\library\Doctrine\ORM\Mapping\ManyToManyMapping.php:204
\library\Doctrine\ORM\PersistentCollection.php:219
\library\Doctrine\ORM\PersistentCollection.php:563
\application\models\Role.php:140
\tests\Portal\RoleTest.php:82

Originally created by @doctrinebot on GitHub (Mar 12, 2010). Jira issue originally created by user cloun: I have many to many relationship where right entity is a class hierarchy (inheritance type = JOIN). Exception info: BadMethodCallException: Illegal invocation of Doctrine\ORM\Persisters\JoinedSubclassPersister::_getSelectColumnListSQL on JoinedSubclassPersister. \library\Doctrine\ORM\Persisters\JoinedSubclassPersister.php:430 \library\Doctrine\ORM\Persisters\StandardEntityPersister.php:815 \library\Doctrine\ORM\Persisters\StandardEntityPersister.php:603 \library\Doctrine\ORM\Mapping\ManyToManyMapping.php:204 \library\Doctrine\ORM\PersistentCollection.php:219 \library\Doctrine\ORM\PersistentCollection.php:563 \application\models\Role.php:140 \tests\Portal\RoleTest.php:82
admin added the Bug label 2026-01-22 12:41:04 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#516