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!HibernateException
public String toString(Type[] types, Object[] values) throws HibernateException
HibernateException
public String toString(Map<String,TypedValue> namedTypedValues) throws HibernateException
HibernateException
public void toString(Iterable<Map.Entry<EntityKey,Object>> entitiesByEntityKey) throws HibernateException
HibernateException
Copyright © 2017 JBoss by Red Hat. All rights reserved.