Please see the relevant section of the migration guide for a workaround: https://github.com/hibernate/hibernate-orm/blob/5.2/migration-guide.adoc#changes-to-how-clob-values-are-processed-using-postgresql81dialect-and-its-subclasses