Cach ORMException when the model does not have the property added to the criteria

Hi, some times some models does not have the property added to the criteria used in `findOneBy`.
For example I am using `HWIOAuthBundle` and only the model `User` has the property `facebookId` which is the property added to the criteria to find the user. When the property not exsite in a Model, for example `Admin`, Doctrine throw a exception.
Sorry for reformatting of empty spaces.