| Thanks Sanne and Gail. While that certainly seems like an issue when creating disassembledStateText for a byte[], it seems like I am also running into the problem that the @Lob annotation should indicate it is a BlobTypeDescriptor rather than a PrimitiveByteArrayTypeDescriptor. If that were done correctly then extractLoggableRepresentation would only return " {blob} ". Is there something I am missing with the @Lob annotation or is that a separate bug? And @Gail if it helps, Payload is referenced in an Artifact entity with a @OneToOne annotations, while Artifact is references with a @OneToMany mapping:
@OneToOne(fetch = FetchType.LAZY, cascade = CascadeType.ALL, orphanRemoval = true)
@JoinColumn(name = "PAYLOAD_ID")
private Payload payload;
...
@OneToMany(cascade = CascadeType.ALL, orphanRemoval = true)
@JoinTable(name = "JOB_ARTIFACT")
@MapKey(name = "type")
private Map<String, Artifact> artifacts;
|