Doctrine 2 - ORM

EntityManager::refresh fails when ID columnName differs from fieldName