Doctrine 2 - ORM

getIdentifierValues causes an exception on entyties that have only association keys