1
package org.hibernate.usertype;
3
import org.hibernate.engine.SessionFactoryImplementor;
6
* Marker interface for user types which want to perform custom
7
* logging of their corresponding values
9
* @author Steve Ebersole
11
public interface LoggableUserType {
13
* Generate a loggable string representation of the collection (value).
15
* @param value The collection to be logged; guarenteed to be non-null and initialized.
16
* @param factory The factory.
17
* @return The loggable string representation.
19
public String toLoggableString(Object value, SessionFactoryImplementor factory);