Class HibernateProxyHelper


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.Class getClassWithoutInitializingProxy​(java.lang.Object object)
      Get the class of an instance or the underlying class of a proxy (without initializing the proxy!).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getClassWithoutInitializingProxy

        public static java.lang.Class getClassWithoutInitializingProxy​(java.lang.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!