Respected 'inheritanceType' at Entity level
It was (incorrectly) fetched from Table-level. http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/annotations-reference.html#annref-inheritancetype
This commit is contained in:
parent
69cad4079d
commit
797fb9c34a
@ -69,8 +69,8 @@ class XmlExporter extends AbstractExporter
|
|||||||
$root->addAttribute('schema', $metadata->table['schema']);
|
$root->addAttribute('schema', $metadata->table['schema']);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($metadata->table['inheritance-type'])) {
|
if ($metadata->inheritanceType) {
|
||||||
$root->addAttribute('inheritance-type', $metadata->table['inheritance-type']);
|
$root->addAttribute('inheritance-type', $this->_getInheritanceTypeString($metadata->inheritanceType));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($metadata->discriminatorColumn) {
|
if ($metadata->discriminatorColumn) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user