org.hibernate.pretty
Class Printer
java.lang.Object
org.hibernate.pretty.Printer
public final class Printer
- extends Object
Renders entities to a nicely readable string.
- Author:
- Gavin King
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Printer
public Printer(SessionFactoryImplementor factory)
toString
public String toString(Object entity,
EntityMode entityMode)
throws HibernateException
- Parameters:
entity
- an actual entity object, not a proxy!
- Throws:
HibernateException
toString
public String toString(Type[] types,
Object[] values)
throws HibernateException
- Throws:
HibernateException
toString
public String toString(Map namedTypedValues)
throws HibernateException
- Throws:
HibernateException
toString
public void toString(Iterator iter,
EntityMode entityMode)
throws HibernateException
- Throws:
HibernateException