public final class EntityPrinter extends Object
| Constructor and Description | 
|---|
EntityPrinter(SessionFactoryImplementor factory)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
toString(Iterable<Map.Entry<EntityKey,Object>> entitiesByEntityKey)  | 
String | 
toString(Map<String,TypedValue> namedTypedValues)  | 
String | 
toString(String entityName,
        Object entity)
Renders an entity to a string. 
 | 
String | 
toString(Type[] types,
        Object[] values)  | 
public EntityPrinter(SessionFactoryImplementor factory)
public String toString(String entityName, Object entity) throws HibernateException
entityName - the entity nameentity - an actual entity object, not a proxy!HibernateExceptionpublic String toString(Type[] types, Object[] values) throws HibernateException
HibernateExceptionpublic String toString(Map<String,TypedValue> namedTypedValues) throws HibernateException
HibernateExceptionpublic void toString(Iterable<Map.Entry<EntityKey,Object>> entitiesByEntityKey) throws HibernateException
HibernateExceptionCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.