The composite type was designed for setting multiple columns, but this custom PostgreSQL type hides those columns behind a single virtual column.
Hibernate does not support custom PostgreSQL types natively, so you need to go to the PostgreSQL forum and ask them how to persist custom PostgreSQL types using JDBC. Once you know how to do it in JDBC, you could try to see what Hibernate type is more suitable.