Save This Page
Home » hibernate-distribution-3.3.1.GA-dist » org.hibernate » pretty » [javadoc | source]
org.hibernate.pretty
public final class: MessageHelper [javadoc | source]
java.lang.Object
   org.hibernate.pretty.MessageHelper
MessageHelper methods for rendering log messages relating to managed entities and collections typically used in log statements and exception messages.
Method from org.hibernate.pretty.MessageHelper Summary:
collectionInfoString,   collectionInfoString,   collectionInfoString,   infoString,   infoString,   infoString,   infoString,   infoString,   infoString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.pretty.MessageHelper Detail:
 public static String collectionInfoString(String role,
    Serializable id) 
    Generate an info message string relating to a particular managed collection.
 public static String collectionInfoString(CollectionPersister persister,
    Serializable[] ids,
    SessionFactoryImplementor factory) 
    Generate an info message string relating to a series of managed collections.
 public static String collectionInfoString(CollectionPersister persister,
    Serializable id,
    SessionFactoryImplementor factory) 
    Generate an info message string relating to a particular managed collection.
 public static String infoString(EntityPersister persister) 
    Generate an info message string relating to given entity persister.
 public static String infoString(String entityName,
    Serializable id) 
    Generate an info message string relating to a particular entity, based on the given entityName and id.
 public static String infoString(EntityPersister persister,
    Object id,
    SessionFactoryImplementor factory) 
    Generate an info message string relating to a particular entity.
 public static String infoString(EntityPersister persister,
    Serializable[] ids,
    SessionFactoryImplementor factory) 
    Generate an info message string relating to a series of entities.
 public static String infoString(String entityName,
    String propertyName,
    Object key) 
    Generate an info message string relating to a given property value for an entity.
 public static String infoString(EntityPersister persister,
    Object id,
    Type identifierType,
    SessionFactoryImplementor factory) 
    Generate an info message string relating to a particular entity,.