TEXT « Column « JPA Q&A





1. Hibernate postgresql/hsqldb TEXT column incompatibility problem    stackoverflow.com

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 am also using annotations; mapping part ...

2. Hibernate column as TEXT    forums.oracle.com

There is a JDBC forum which is probably more appropriate for this. Hibernate doesn't have 'types'. It maps between java types and database types. And far as I know in a database a 'text' type, specified exactly like that, has a size of one character. To be bigger it must have a size qualifier such as 'text(128)'