Oracle to postgre migration issue

Hi,
We are migrating from Oracle to Postgre. We need to have support for both right now. When an entity with a Clob field after deploying with Postgre with text type database column, we got exception
“org.postgresql.util.PSQLException: Bad value for type long”

Welcome solutions. Thanks.