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(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)
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved