doctrine/DoctrineBundle — Issue #4: Custom platform is not taken into account
Author: sdecleire
Created: 2012-01-09 12:48:57+00:00
State: open

When defining a custom platform in the configuration of Symfony 2 like below (config.yml) :

services:
my_platform:
class: Doctrine\DBAL\Platforms\MyPlatform

doctrine:
dbal:
options:
platform: @my_platform

the custom platform MyPlatform is not taken into account and the driver default one is used instead.