title: Doctrine2: How to fetch pure entity, not a proxy?
body: <p>Is it possible to fetch an already cached entity in Doctrine2 in it's pure form?</p>
  
  <p>Whenever I try to fetch it using <code>find()</code> or event using the QueryBuilder, it results in a Proxy class, which is impossible to properly store and then wakeup in a Session.</p>
  
  <p>I am using the entity as an User identity, which I would like to persist in the Session, but it seems, that the adapter can't really wake up proxies.</p>
  
  <p>Any ideas?</p>
  
  <p>I've tried <code>find()</code> from the repository, the query builder and even <code>refresh()</code> after the entity is fetched with no success.</p>
  
  <p>Oh, and as I know about the EAGER fetch method, I'm not really sure it's usable in this case and how, since there are no relations taking place, and the proxy actually comes from Doctrines cache, or so I believe.</p>