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: Mon, 27 Sep 2010 10:34:40 -0700 (PDT)
Message-ID: <1285608880601-2855656.post@n5.nabble.com> (raw)
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>


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-tp2...
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.



view thread (53+ messages)  latest in thread

Message-ID: <1285608880601-2855656.post@n5.nabble.com>
Permalink:  ../1285608880601-2855656.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1285608880601-2855656.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: <1285608880601-2855656.post@n5.nabble.com>
  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> <1285608880601-2855656.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