title: Symfony 2 Validate Proxy Entity
body: <p>So I have an entity with annotation asserts and I call validate() manually on the entity, everything works as expected.</p>
  
  <p>However sometimes a process before this hydrates the same entity through a relationship. Then later when I fetch the entity normally I get a proxy of that entity (which is initialised), I believe Doctrine does this automatically for performance reasons.</p>
  
  <p>However when I then come to validate it, because the class is a proxy the annotation asserts don't get picked up.</p>
  
  <p>Should validate() know how to validate a proxy by loading the asserts from it's base class it proxies from? I assume not since it isn't.</p>
  
  <p>So my question is, is there any way to turn a proxy entity into it's normal entity class (I don't mean hydrate/initialise it because it already is).</p>
  
  <p>Or is there a way to force Doctrine to re-fetch the entity from the database and not return me an initialised proxy?</p>