Class HibernateHelper

java.lang.Object
org.hibernate.search.util.HibernateHelper

public final class HibernateHelper extends Object
  • Method Details

    • 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)