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