public final class HibernateHelper extends Object
Modifier and Type | Method and Description |
---|---|
static <T> Class<T> |
getClass(T entity)
Get the real class type.
|
static Class<?> |
getClassFromWork(org.hibernate.search.backend.spi.Work work) |
static void |
initialize(Object entity) |
static boolean |
isInitialized(Object entity) |
static Object |
unproxy(Object value) |
public static <T> Class<T> getClass(T entity)
T
- the type of the entityentity
- an instance of the entity typepublic static void initialize(Object entity)
public static boolean isInitialized(Object entity)
public static Class<?> getClassFromWork(org.hibernate.search.backend.spi.Work work)
Copyright © 2017 JBoss by Red Hat. All rights reserved.