[2.0] DDC-206 - Bugfix in XML Metadata Driver
This commit is contained in:
parent
097d1d6bee
commit
4938228234
@ -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"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user