接口 LoggableUserType

  • 所有已知实现类:
    EnumType

    public interface LoggableUserType
    Marker interface for user types which want to perform custom logging of their corresponding values
    作者:
    Steve Ebersole
    • 方法详细资料

      • toLoggableString

        String toLoggableString​(Object value,
                                SessionFactoryImplementor factory)
        Generate a loggable string representation of the collection (value).
        参数:
        value - The collection to be logged; guaranteed to be non-null and initialized.
        factory - The factory.
        返回:
        The loggable string representation.