Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id F20271337BA1 for ; Tue, 5 Oct 2010 20:59:06 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 88068-01 for ; Tue, 5 Oct 2010 23:59:01 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mail.postgresql.org (Postfix) with ESMTP id 4B23F1335B36 for ; Tue, 5 Oct 2010 20:58:59 -0300 (ADT) Received: from sam.nabble.com ([192.168.236.26]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1P3HPP-0007cV-7u for pgsql-jdbc@postgresql.org; Tue, 05 Oct 2010 16:58:59 -0700 Date: Tue, 5 Oct 2010 16:58:59 -0700 (PDT) From: stagirus To: pgsql-jdbc@postgresql.org Message-ID: <1286323139238-3200618.post@n5.nabble.com> 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> <1286275310520-3199236.post@n5.nabble.com> <4CAB0677.5080706@opencloud.com> Subject: Re: [BUGS] Mapping Hibernate boolean to smallint(Postgresql) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.778 tagged_above=-10 required=5 tests=BAYES_00=-1.9, URI_HEX=1.122 X-Spam-Level: X-Archive-Number: 201010/48 X-Sequence-Number: 21016 >>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-tp2855367p3200618.html Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.