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: 200901271520.n0RFKtMQ065852@wwwmaster.postgresql.org (view raw or flat)
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

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-2014 The PostgreSQL Global Development Group