站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.4 正式版 API 英文文档

LoggableUserType (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


org.hibernate.usertype
Interface LoggableUserType


public interface LoggableUserType

Marker interface for user types which want to perform custom logging of their corresponding values

Author:
Steve Ebersole

Method Summary
 String toLoggableString(Object value, SessionFactoryImplementor factory)
          Generate a loggable string representation of the collection (value).
 

Method Detail

toLoggableString

public String toLoggableString(Object value,
                               SessionFactoryImplementor factory)
Generate a loggable string representation of the collection (value).

Parameters:
value - The collection to be logged; guarenteed to be non-null and initialized.
factory - The factory.
Returns:
The loggable string representation.