Use doctrine 2.4.x-dev (dev-master) to get latest release with fix for http://www.doctrine-project.org/jira/browse/DBAL-511 remove the hack to fix that in ouw code