2010-09-24 01:10:31 +04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
|
|
|
|
http://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
|
|
|
|
<entity name="Doctrine\Tests\ORM\Mapping\Animal" inheritance-type="SINGLE_TABLE">
|
2013-05-13 18:04:36 +04:00
|
|
|
<discriminator-column name="discr" type="string" length="32" />
|
2010-09-24 01:10:31 +04:00
|
|
|
<discriminator-map>
|
|
|
|
<discriminator-mapping value="cat" class="Cat" />
|
|
|
|
<discriminator-mapping value="dog" class="Dog" />
|
|
|
|
</discriminator-map>
|
2011-11-28 22:41:54 +04:00
|
|
|
<id name="id" type="integer" column="id">
|
2012-01-08 16:20:35 +04:00
|
|
|
<generator strategy="CUSTOM" />
|
|
|
|
<custom-id-generator class="stdClass" />
|
2011-11-28 22:41:54 +04:00
|
|
|
</id>
|
2010-09-24 01:10:31 +04:00
|
|
|
</entity>
|
2012-07-08 11:06:52 +04:00
|
|
|
</doctrine-mapping>
|