I have a problem using Hibernate and PostgreSQL for production and HSQLDB for testing.
I am using top-down approach letting Hibernate create database schema.
I a
The easiest way to deal with this specific issue is probably to not use the columnDefinition at all and instead to explicitly specify the column length with (for example)
@Column(length=10000)
It might also be that you could instead map it with @Lob(type = LobType.CLOB)
but I'm not sure that is supported properly in HSQLDB. In Postgres it should give you your TEXT type.