public interface

LoggableUserType

org.hibernate.usertype.LoggableUserType

Class Overview

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

Summary

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

Public Methods

public abstract 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.