added support for Doctrine Driver.. fix#38