Class HibernateProxyHelper

java.lang.Object
org.hibernate.proxy.HibernateProxyHelper

public final class HibernateProxyHelper extends Object
Utility methods for working with proxies. (this class is being phased out)
  • Method Details

    • getClassWithoutInitializingProxy

      public static Class getClassWithoutInitializingProxy(Object object)
      Get the class of an instance or the underlying class of a proxy (without initializing the proxy!). It is almost always better to use the entity name!