My question is similar to Postgresql UUID supported by Hibernate? but I have to use array of UUID. I receive the error
Caused by: org.postgresql.util.PSQLException: ERROR: column "system_ids" is of type uuid[] but expression is of type bytea
Column definition is
@Column(name = "system_ids", columnDefinition = "uuid[]")
private UUID[] system_ids;
I am using Postgresql so I have mapped other UUID pk's as
@Type(type = "pg-uuid")
I do not know how to map UUID[]