org.hibernate.search.util.impl
Class HibernateHelper
java.lang.Object
org.hibernate.search.util.impl.HibernateHelper
public final class HibernateHelper
- extends Object
- Author:
- Emmanuel Bernard
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getClass
public static <T> Class<T> getClass(T entity)
- Get the real class type.
In case of Hibernate proxies, return the entity type rather than the proxy's
initialize
public static void initialize(Object entity)
isInitialized
public static boolean isInitialized(Object entity)
getClassFromWork
public static <T> Class<T> getClassFromWork(Work<T> work)
unproxy
public static Object unproxy(Object value)
Copyright © 2006-2012 Red Hat Middleware, LLC. All Rights Reserved