mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-138: Allow for mixed inheritance mapping #173
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Nov 12, 2009).
Originally assigned to: @Ocramius on GitHub.
Jira issue originally created by user reinier.kip:
Requesting implementation of mixed inheritance mapping (class table inheritance and single table inheritance).
This would be especially handy when the difference between certain classes is only "implementational" (i.e. a subclass only functions differently/implements abstract methods and does not specify any additional fields). Using class table inheritance would result in tables only containing an id column.
@doctrinebot commented on GitHub (Nov 12, 2009):
@malukenho commented on GitHub (Jan 5, 2017):
@Ocramius is someone still needs this feature?
@Ocramius commented on GitHub (Jan 5, 2017):
No, this is an edge case that can probably be fixed via custom persisters and hydrators instead.
Also, @guilhermeblanco is adding table information to every column now, so mixed inheritance will kinda come out of the box in ORM v3, if all works out as expected.
@nkamuo commented on GitHub (Apr 6, 2024):
Hello @Ocramius! Is there any hope of having this on doctrine v3?
@Ocramius commented on GitHub (Apr 6, 2024):
@nkamuo I'm no longer actively maintaining here