HQL query against field marked with @Lob fails on PostgreSQL

Description

When using a simple entity as follows:

And then issuing the following HQL query:

This fails with an error:

The hibernate stack trace:

I tried using the latest 9.4.1212 driver version and the same error occurs.

Environment

PostgreSQL 9.5
Hibernate

Status

Assignee

Unassigned

Reporter

Chris Cranford

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

Components

Affects versions

5.2.7

Priority

Major
Configure