Hi guys,
I've issue with Hibernate(4.2) mapping a PostgreSQL(9) database.
I have a join table which stores data as regclass type. This data is a String in the model object.
Select and Insert queries are working well, but testing queries when instantiating a collection returns an error regarding the equal test :
ERROR: operator does not exist: regclass = character varying Hint : No operator matches the given name and argument type(s). You might need to add explicit type casts. Position : 795
Is there any way to identify this attribute as a Regclass or to force the cast when a test is done ?
Thanks in advance,
LDF.
|