BUG #4631: Hibernate Restriction bigint~~bigint

From: "Hauke Runge" <runge(at)tembit(dot)de>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #4631: Hibernate Restriction bigint~~bigint
Date: 2009-01-27 15:20:55
Message-ID: 200901271520.n0RFKtMQ065852@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 4631
Logged by: Hauke Runge
Email address: runge(at)tembit(dot)de
PostgreSQL version: 8.3
Operating system: XP professional
Description: Hibernate Restriction bigint~~bigint
Details:

Developing a project with spring, struts, hibernate 3.2 and a postgres 8.1
we were using hibernateCallback like this:

HibernateCallback callback = new HibernateCallback() {
public Object doInHibernate(Session session) throws
HibernateException, SQLException {
Criteria ct = session.createCriteria(Reminder.class);

ct.add(Restrictions.like("user", reminder.getPatient()));
ct.add(Restrictions.like("suitId", reminder.getSuitId()));

return ct.list();
}
};

this was working very well. Changing to postgreSql 8.3 we got the following
error:
ERROR: operator does not exist: bigint ~~ bigint

we changed the jdbc driver to the latest jdbc3 driver - but the error was
the same.

I think, this could be a bug.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2009-01-27 16:57:12 Re: BUG #4631: Hibernate Restriction bigint~~bigint
Previous Message Nick Withers 2009-01-27 05:37:51 BUG #4630: Null-pointer dereference on FreeBSD / PowerPC in PageIsPrunable ()