Options not respected for ID Fields in XML Mapping Driver
Same bug of the YAML driver, see: http://www.doctrine-project.org/jira/browse/DDC-2661
This commit is contained in:
parent
c613410ba6
commit
7c8350094e
@ -278,6 +278,10 @@ class XmlDriver extends FileDriver
|
|||||||
$mapping['columnDefinition'] = (string)$idElement['column-definition'];
|
$mapping['columnDefinition'] = (string)$idElement['column-definition'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isset($idElement->options)) {
|
||||||
|
$mapping['options'] = $this->_parseOptions($idElement->options->children());
|
||||||
|
}
|
||||||
|
|
||||||
$metadata->mapField($mapping);
|
$metadata->mapField($mapping);
|
||||||
|
|
||||||
if (isset($idElement->generator)) {
|
if (isset($idElement->generator)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user