mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-690: Unable to define mapped superclass in XML #851
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 (Jul 14, 2010).
Jira issue originally created by user frantisek.troster:
Hi,
I am unable to find mapped superclass definition for XML and YML. I would
like to define the same schema as seen at:
http://www.doctrine-project.org/documentation/manual/2_0/en/inheritan...
But I can't see needed XML elements in the XML schema. I've found only
for defining superclass but not an element or
attribute in the entity element to define inherited class. If you know
how to define this in XML, could you please also show me an example
how to define it in YAML. Thank you
Frantisek Troster
@doctrinebot commented on GitHub (Jul 14, 2010):
Comment created by romanb:
There is nothing extra needed. The XML Schema definition is as follows:
Doctrine does currently not need inheritance information about mapped superclasses or non-mapped classes in mapping files. The necessary inheritance information is read from the classes themselves.
@doctrinebot commented on GitHub (Jul 14, 2010):
Comment created by frantisek.troster:
Thank you for the answer.
Frantisek Troster
@doctrinebot commented on GitHub (Aug 7, 2010):
Comment created by romanb:
Marking this as resolved. If there are remaining issues please report back.
@doctrinebot commented on GitHub (Aug 7, 2010):
Issue was closed with resolution "Invalid"