Re: BUG #4631: Hibernate Restriction bigint~~bigint

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Hauke Runge" <runge(at)tembit(dot)de>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4631: Hibernate Restriction bigint~~bigint
Date: 2009-01-27 16:57:12
Message-ID: 17316.1233075432@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Hauke Runge" <runge(at)tembit(dot)de> writes:
> ERROR: operator does not exist: bigint ~~ bigint

> I think, this could be a bug.

Yes: in Hibernate. They shouldn't be using LIKE on integers.
If it happens that that's intentional and not a symptom of a logic
error on their part, they need to cast the integers to text explicitly.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Juan Moreno 2009-01-27 20:49:50 BUG #4632: Duplicate
Previous Message Hauke Runge 2009-01-27 15:20:55 BUG #4631: Hibernate Restriction bigint~~bigint