orphanRemoval default is false
This commit is contained in:
parent
24432bd0ab
commit
289c186de5
@ -221,8 +221,7 @@ class XmlExporter extends AbstractExporter
|
||||
$associationMappingXml->addAttribute('index-by', $associationMapping['indexBy']);
|
||||
}
|
||||
if (isset($associationMapping['orphanRemoval']) && $associationMapping['orphanRemoval']!==false) {
|
||||
// false is the xml default
|
||||
$associationMappingXml->addAttribute('orphan-removal', $associationMapping['orphanRemoval']);
|
||||
$associationMappingXml->addAttribute('orphan-removal', 'true');
|
||||
}
|
||||
if (isset($associationMapping['joinTable']) && $associationMapping['joinTable']) {
|
||||
$joinTableXml = $associationMappingXml->addChild('join-table');
|
||||
|
Loading…
x
Reference in New Issue
Block a user