Hibernate postgresql/hsqldb TEXT column incompatibility problem

前端 未结 6 1733
醉酒成梦
醉酒成梦 2021-01-02 00:26

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

6条回答
  •  自闭症患者
    2021-01-02 00:41

    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.

提交回复
热议问题