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
Agree with @fredt. TEXT data type isn't standard SQL type, but extension that some engine supports.
To enable PostgreSQL compatibility mode use sql.syntax_pgs=true in your connection parameters.
sql.syntax_pgs=true