I have a spring application that uses MySQL as database.
I want to migrate the application from MySQL to Postgres, and it seems that I can not declare byte[] array:
I have this column:
@Type(type="org.hibernate.type.BinaryType")
private byte[] data.
I get this error:
Caused by: org.postgresql.util.PSQLException: ERROR: type "tinyblob" does not exist
Is there a way to achive this in PostgreSQL?