Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 2437F1337B86 for ; Mon, 27 Sep 2010 14:34:48 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 13809-02 for ; Mon, 27 Sep 2010 17:34:41 +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 2B6321337B85 for ; Mon, 27 Sep 2010 14:34:41 -0300 (ADT) Received: from sam.nabble.com ([192.168.236.26]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1P0Hb6-0004os-JY for pgsql-jdbc@postgresql.org; Mon, 27 Sep 2010 10:34:40 -0700 Date: Mon, 27 Sep 2010 10:34:40 -0700 (PDT) From: stagirus To: pgsql-jdbc@postgresql.org Message-ID: <1285608880601-2855656.post@n5.nabble.com> In-Reply-To: <4CA08CF60200002500035F61@gw.wicourts.gov> References: <4CA064B50200002500035F29@gw.wicourts.gov> <1285601721239-2855475.post@n5.nabble.com> <4CA0805B0200002500035F43@gw.wicourts.gov> <1285607332343-2855614.post@n5.nabble.com> <4CA08CF60200002500035F61@gw.wicourts.gov> 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/59 X-Sequence-Number: 20929 Point is well-taken. I will supply the stack trace. Thanks. We are inserting 0 for false and 1 for true. Oracle and Hibernate has been pretty happy so far. We just have to make Postgresql happy too. I am impressed with your comment that Postgresql tries to comply with the standards. If so do you have sufficient test cases for converting between the data types you mentioned above. Any test cases for Hibernate-JDBC-Postgresql scenarios? If I were (Postgres team), I would include them to ensure the compatibility. Thanks. -- View this message in context: http://postgresql.1045698.n5.nabble.com/Re-BUGS-Mapping-Hibernate-boolean-to-smallint-Postgresql-tp2855367p2855656.html Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.