Package org.hibernate.internal.util
Class EntityPrinter
java.lang.Object
org.hibernate.internal.util.EntityPrinter
Renders entities and query parameters to a nicely readable string.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
toString
(Iterable<Map.Entry<EntityKey, EntityHolder>> entitiesByEntityKey) Renders an entity to a string.toString
(Map<String, TypedValue> namedTypedValues)
-
Constructor Details
-
EntityPrinter
-
-
Method Details
-
toString
Renders an entity to a string.- Parameters:
entityName
- the entity nameentity
- an actual entity object, not a proxy!- Returns:
- the entity rendered to a string
- Throws:
HibernateException
-
toString
- Throws:
HibernateException
-
toString
- Throws:
HibernateException
-
toString
public void toString(Iterable<Map.Entry<EntityKey, EntityHolder>> entitiesByEntityKey) throws HibernateException- Throws:
HibernateException
-