Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id B6A061337B52 for ; Thu, 30 Sep 2010 18:50:29 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 62144-06 for ; Thu, 30 Sep 2010 21:50:03 +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 3A31C1335B36 for ; Thu, 30 Sep 2010 18:50:03 -0300 (ADT) Received: from sam.nabble.com ([192.168.236.26]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1P1R0s-0001nT-Ik for pgsql-jdbc@postgresql.org; Thu, 30 Sep 2010 14:50:02 -0700 Date: Thu, 30 Sep 2010 14:50:02 -0700 (PDT) From: stagirus To: pgsql-jdbc@postgresql.org Message-ID: <1285883402563-3047721.post@n5.nabble.com> In-Reply-To: <4CA503A2.7010706@opencloud.com> References: <1285701298407-2865634.post@n5.nabble.com> <4CA22C3C0200002500036065@gw.wicourts.gov> <1285716712781-2916249.post@n5.nabble.com> <4CA28CCB.5020400@opencloud.com> <1285762010765-3005405.post@n5.nabble.com> <4CA338F8.80902@opencloud.com> <4CA499DB.8000807@postnewspapers.com.au> <4CA4F536.5050704@opencloud.com> <1285880740264-3047671.post@n5.nabble.com> <4CA503A2.7010706@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: 201009/95 X-Sequence-Number: 20965 Oliver: Thank you for your generous response. The options you suggested were not yet viable. Disagreeing is part of human nature. No worries there. But if you review Craig's remarks carefully, this issue is likely outside the scope of JDBC drivers. It is more to do with the Postgresql DB Engine that is not happy to cast or convert boolean values to SMALLINT columns. Craig.. is my interpretation of your comments right? Thanks -- View this message in context: http://postgresql.1045698.n5.nabble.com/Re-BUGS-Mapping-Hibernate-boolean-to-smallint-Postgresql-tp2855367p3047721.html Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.