Merge pull request #897 from holtkamp/patch-3
Respected 'inheritanceType' at Entity level
This commit is contained in:
commit
7f30c31e98
1 changed files with 2 additions and 2 deletions
|
@ -69,8 +69,8 @@ class XmlExporter extends AbstractExporter
|
|||
$root->addAttribute('schema', $metadata->table['schema']);
|
||||
}
|
||||
|
||||
if (isset($metadata->table['inheritance-type'])) {
|
||||
$root->addAttribute('inheritance-type', $metadata->table['inheritance-type']);
|
||||
if ($metadata->inheritanceType && $metadata->inheritanceType !== ClassMetadataInfo::INHERITANCE_TYPE_NONE) {
|
||||
$root->addAttribute('inheritance-type', $this->_getInheritanceTypeString($metadata->inheritanceType));
|
||||
}
|
||||
|
||||
if ($metadata->discriminatorColumn) {
|
||||
|
|
Loading…
Add table
Reference in a new issue