pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: stagirus <mamasa@stagirus.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: [BUGS] Mapping Hibernate boolean to smallint(Postgresql)
Date: Tue, 5 Oct 2010 16:58:59 -0700 (PDT)
Message-ID: <1286323139238-3200618.post@n5.nabble.com> (raw)
In-Reply-To: <4CAB0677.5080706@opencloud.com>
References: <1285880740264-3047671.post@n5.nabble.com>
	<4CA503A2.7010706@opencloud.com>
	<1285883402563-3047721.post@n5.nabble.com>
	<4CA55A9E.80700@postnewspapers.com.au>
	<1285971439496-3073409.post@n5.nabble.com>
	<4CA6929B.5050105@postnewspapers.com.au>
	<1285995027439-3073605.post@n5.nabble.com>
	<AANLkTi=wYc=JOcXUY4ZmrLjYJfsv9d-iy82bUt9hsTiW@mail.gmail.com>
	<1286275310520-3199236.post@n5.nabble.com>
	<4CAB0677.5080706@opencloud.com>


>>Not shown in your logs is the type which Hibernate is binding the
>>parameters as. I expect that the '0' is actually bound with Oid.BOOL
>>because Hibernate is using setBoolean() or setObject(...,Types.BOOLEAN)...

Oliver - your observations could possibly be right. 

One simple question though. Is the reported exception generated by the
Postgresql JDBC driver or Postgresql DB Engine?

Thanks.

-- 
View this message in context: http://postgresql.1045698.n5.nabble.com/Re-BUGS-Mapping-Hibernate-boolean-to-smallint-Postgresql-tp2...
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.



view thread (53+ messages)  latest in thread

Message-ID: <1286323139238-3200618.post@n5.nabble.com>
Permalink:  ../1286323139238-3200618.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1286323139238-3200618.post@n5.nabble.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: mamasa@stagirus.com
  Subject: Re: [BUGS] Mapping Hibernate boolean to smallint(Postgresql)
  In-Reply-To: <1286323139238-3200618.post@n5.nabble.com>
  References: <1285880740264-3047671.post@n5.nabble.com> <4CA503A2.7010706@opencloud.com> <1285883402563-3047721.post@n5.nabble.com> <4CA55A9E.80700@postnewspapers.com.au> <1285971439496-3073409.post@n5.nabble.com> <4CA6929B.5050105@postnewspapers.com.au> <1285995027439-3073605.post@n5.nabble.com> <AANLkTi=wYc=JOcXUY4ZmrLjYJfsv9d-iy82bUt9hsTiW@mail.gmail.com> <1286275310520-3199236.post@n5.nabble.com> <4CAB0677.5080706@opencloud.com> <1286323139238-3200618.post@n5.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox