Doctrine 2 - ORM

DateTime conditions in Criteria objects result in errors