1
0
mirror of synced 2025-01-18 22:41:43 +03:00

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

This commit is contained in:
beberlei 2009-12-12 08:27:24 +00:00
parent 097d1d6bee
commit 4938228234
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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"/>