public class DynamicDaoHelperImpl extends Object implements DynamicDaoHelper
| Modifier and Type | Field and Description |
|---|---|
static String |
JAVASSIST_PROXY_KEY_PHRASE |
static Object |
LOCK_OBJECT |
static Map<Class<?>,Class<?>[]> |
POLYMORPHIC_ENTITY_CACHE |
static Map<Class<?>,Class<?>[]> |
POLYMORPHIC_ENTITY_CACHE_WO_EXCLUSIONS |
| Constructor and Description |
|---|
DynamicDaoHelperImpl() |
| Modifier and Type | Method and Description |
|---|---|
Class<?>[] |
getAllPolymorphicEntitiesFromCeiling(Class<?> ceilingClass,
org.hibernate.SessionFactory sessionFactory,
boolean includeUnqualifiedPolymorphicEntities,
boolean useCache) |
Serializable |
getIdentifier(Object entity,
javax.persistence.EntityManager em) |
Serializable |
getIdentifier(Object entity,
org.hibernate.Session session) |
Field |
getIdField(Class<?> clazz,
javax.persistence.EntityManager em) |
Field |
getIdField(Class<?> clazz,
org.hibernate.Session session) |
Map<String,Object> |
getIdMetadata(Class<?> entityClass,
org.hibernate.ejb.HibernateEntityManager entityManager) |
static Class<?> |
getNonProxyImplementationClassIfNecessary(Class<?> candidate) |
List<String> |
getPropertyNames(Class<?> entityClass,
org.hibernate.ejb.HibernateEntityManager entityManager) |
List<org.hibernate.type.Type> |
getPropertyTypes(Class<?> entityClass,
org.hibernate.ejb.HibernateEntityManager entityManager) |
org.hibernate.SessionFactory |
getSessionFactory(org.hibernate.ejb.HibernateEntityManager entityManager) |
Class<?>[] |
getUpDownInheritance(Class<?> testClass,
org.hibernate.SessionFactory sessionFactory,
boolean includeUnqualifiedPolymorphicEntities,
boolean useCache,
EJB3ConfigurationDao ejb3ConfigurationDao) |
boolean |
isExcludeClassFromPolymorphism(Class<?> clazz) |
Class<?>[] |
sortEntities(Class<?> ceilingClass,
List<Class<?>> entities) |
public static final Object LOCK_OBJECT
public static final Map<Class<?>,Class<?>[]> POLYMORPHIC_ENTITY_CACHE_WO_EXCLUSIONS
public static final String JAVASSIST_PROXY_KEY_PHRASE
public static Class<?> getNonProxyImplementationClassIfNecessary(Class<?> candidate)
public Class<?>[] getAllPolymorphicEntitiesFromCeiling(Class<?> ceilingClass, org.hibernate.SessionFactory sessionFactory, boolean includeUnqualifiedPolymorphicEntities, boolean useCache)
getAllPolymorphicEntitiesFromCeiling in interface DynamicDaoHelperpublic Class<?>[] getUpDownInheritance(Class<?> testClass, org.hibernate.SessionFactory sessionFactory, boolean includeUnqualifiedPolymorphicEntities, boolean useCache, EJB3ConfigurationDao ejb3ConfigurationDao)
getUpDownInheritance in interface DynamicDaoHelperpublic Class<?>[] sortEntities(Class<?> ceilingClass, List<Class<?>> entities)
sortEntities in interface DynamicDaoHelperpublic boolean isExcludeClassFromPolymorphism(Class<?> clazz)
isExcludeClassFromPolymorphism in interface DynamicDaoHelperpublic Map<String,Object> getIdMetadata(Class<?> entityClass, org.hibernate.ejb.HibernateEntityManager entityManager)
getIdMetadata in interface DynamicDaoHelperpublic List<String> getPropertyNames(Class<?> entityClass, org.hibernate.ejb.HibernateEntityManager entityManager)
getPropertyNames in interface DynamicDaoHelperpublic List<org.hibernate.type.Type> getPropertyTypes(Class<?> entityClass, org.hibernate.ejb.HibernateEntityManager entityManager)
getPropertyTypes in interface DynamicDaoHelperpublic org.hibernate.SessionFactory getSessionFactory(org.hibernate.ejb.HibernateEntityManager entityManager)
getSessionFactory in interface DynamicDaoHelperpublic Serializable getIdentifier(Object entity, javax.persistence.EntityManager em)
getIdentifier in interface DynamicDaoHelperpublic Serializable getIdentifier(Object entity, org.hibernate.Session session)
getIdentifier in interface DynamicDaoHelperpublic Field getIdField(Class<?> clazz, javax.persistence.EntityManager em)
getIdField in interface DynamicDaoHelperpublic Field getIdField(Class<?> clazz, org.hibernate.Session session)
getIdField in interface DynamicDaoHelperCopyright © 2017. All rights reserved.