Class HibernateProxyHelper


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

      • getClassWithoutInitializingProxy

        public static <T> Class<T> getClassWithoutInitializingProxy​(T 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!