Currently, if we have the following entity:
@Entity(name = "Image")
public static class Image {
@Id
private Long id;
@Column(name = "content")
private byte[] content;
}
When we try to persist and entity, the following log output is generated:
The VARBINARY logged value is using the default java.lang.Object implementation, which is not very useful in this case. We should provide a better toString() implementation for this. |