org.hibernate.proxy

Class HibernateProxyHelper


public final class HibernateProxyHelper
extends java.lang.Object

Utility methods for working with proxies. (this class is being phased out)
Author:
Gavin King

Method Summary

static Class
getClassWithoutInitializingProxy(Object object)
Get the class of an instance or the underlying class of a proxy (without initializing the proxy!).

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!