I have 2 Doctrine 2 Entities: - Country (id, name) - Mapping (id, objectType, internalId, externalId)
I need association between Country and Mapping using following condition: Country.id = Mapping.internalId AND Mapping.objectType = 'country'
Can I implement this relation using YAML/XML mapping?