Samuel Halliday commented on Bug JPA-48

It would appear that Hibernate is always preferring to use PostgreSQL's "large object type" (even though it defines the field as type "text" in the generated schema) when using @Lob.

Another workaround, if one wishes to use @Lob, but at the expense of a database that cannot be easily backed up or moved, is to use the following notation to retrieve the data on the CLI:

\lo_export 16407 out.txt

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira