Commit 49382282 authored by beberlei's avatar beberlei

[2.0] DDC-206 - Bugfix in XML Metadata Driver

parent 097d1d6b
......@@ -174,7 +174,7 @@ class XmlDriver extends AbstractFileDriver
if (isset($idElement->generator)) {
$metadata->setIdGeneratorType(constant('Doctrine\ORM\Mapping\ClassMetadata::GENERATOR_TYPE_'
. (string)$idElement->generator['strategy']));
. strtoupper((string)$idElement->generator['strategy'])));
}
// Check for SequenceGenerator/TableGenerator definition
......
......@@ -13,7 +13,7 @@
</lifecycle-callbacks>
<id name="id" type="integer" column="id">
<generator strategy="AUTO"/>
<generator strategy="auto"/>
</id>
<field name="name" column="name" type="string" length="50"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment