Package org.hibernate.usertype
Interface LoggableUserType
-
- All Known Implementing Classes:
EnumType
public interface LoggableUserType
Marker interface for user types which want to perform custom logging of their corresponding values
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
toLoggableString(Object value, SessionFactoryImplementor factory)
Generate a loggable string representation of the collection (value).
-
-
-
Method Detail
-
toLoggableString
String toLoggableString(Object value, SessionFactoryImplementor factory)
Generate a loggable string representation of the collection (value).- Parameters:
value
- The collection to be logged; guaranteed to be non-null and initialized.factory
- The factory.- Returns:
- The loggable string representation.
-
-