Doctrine 2 - ORM

DateTime (and other custom object types) cannot be used in primary key (singular or composite)