How to use Doctrine OracleSessionInit listener with Symfony2?
问题 I am using oracle and I am recieving this error: Could not convert database value "17-NOV-11 12.17.33 AM" to Doctrine Type datetime. Expected format: Y-m-d H:i:s Also I can´t create new rows because oracle complaints about the datetime format. I know that mysql datetime format and oracle one are different. I understand that you can use doctrine listeners with symfony 2: http://symfony.com/doc/current/cookbook/doctrine/event_listeners_subscribers.html And, there´s a doctrine listener created