Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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

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("user", reminder.getPatient()));
    			ct.add("suitId", reminder.getSuitId()));

    			return ct.list();

this was working very well. Changing to postgreSql 8.3 we got the following
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.


pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group