I'm trying to run this JPQL query:
SELECT DISTINCT i FROM Table i JOIN i.other o
which promptly fails with:
"Internal Exception: java.sql.SQLException: Columns of type 'BLOB' may not be used in CREATE INDEX, ORDER BY, GROUP BY, UNION, INTERSECT, EXCEPT or DISTINCT statements because comparisons are not supported for that type."
This error makes sense to me, but how do I get around it?