I have a Payload entity with a byte field that is annotated with @Lob. Upon lazy initialization, it is treated as a PrimitiveByteArrayTypeDescriptor rather than a BlobTypeDescriptor, which leads to the byte being turned into a String (https://hibernate.atlassian.net/browse/HHH-12370). A BlobTypeDescriptor would correctly not try to log the contents of the byte.
However, looking at the database table definition, it is correctly identified as a BLOB:
Is there something I am missing about how to get Hibernate to recognize it as a blob type?