| I would ask you to reconsider this decision. I have read the corresponding sections in the migration guide but the way Hibernate stores CLOBs is wrong and not compatible with any other PostgreSQL application. It contradicts the way TEXT should be used in PostgreSQL. I understand that it is not possible to change this behaviour without substitution. I therefore propose that both procedures be maintained. The best solution would be a propery (e. g. org.hibernate.dialect.postgresql.clobstyle = {default | legacy} ). I am currently using my own PostgreSQL dialect, which complies with 5.2.9/5.2.10, but I think that Hibernate should implement TEXT columns correctly in the future. |