Merge pull request #897 from holtkamp/patch-3
Respected 'inheritanceType' at Entity level
This commit is contained in:
commit
7f30c31e98
@ -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 && $metadata->inheritanceType !== ClassMetadataInfo::INHERITANCE_TYPE_NONE) {
|
||||||
$root->addAttribute('inheritance-type', $metadata->table['inheritance-type']);
|
$root->addAttribute('inheritance-type', $this->_getInheritanceTypeString($metadata->inheritanceType));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($metadata->discriminatorColumn) {
|
if ($metadata->discriminatorColumn) {
|
||||||
|
Loading…
Reference in New Issue
Block a user