doctrine/doctrine2 — pull request #445 by goetas (2012-09-13 07:56:39+00:00)
Title: Allow to add non existing maped class

I've extended `Doctrine\ORM\Mapping\Driver\DatabaseDriver` with a more complicated schema conversion tool (that supports inheritance too).

i'm generating xml metadata starting from databse schema, then i generate entities starting from xml.

inside `DatabaseDriver::loadMetadataForClass()` i wanna call
`$metadata->addDiscriminatorMapClass($discriminatorValue, $myClassName);`

`$myClassName` at this point, probably does not exists, so `addDiscriminatorMapClass` throws an exception. i've removed class existence check to allow this behaviour.