title: How do I retrieve the proxied class from the proxy class?
body: <p>I'm using Hibernate with proxies, and I get objects belonging to classes such as <code>test.DBUser$$EnhancerByCGLIB$$40e99a2d</code>.</p>
  
  <p>Is there a Hibernate method to retrieve the base class (<code>test.DBUser</code> in this case) from the proxied <em>class</em>? I know about <code>Hibernate.getClass()</code>, but it takes an <code>Object</code>, while I'm looking for a method which takes as input a <code>Class</code>.</p>