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: Fri, 1 Oct 2010 21:50:27 -0700 (PDT)
Message-ID: <1285995027439-3073605.post@n5.nabble.com> (raw)
In-Reply-To: <4CA6929B.5050105@postnewspapers.com.au>
References: <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>
	<1285883402563-3047721.post@n5.nabble.com>
	<4CA55A9E.80700@postnewspapers.com.au>
	<1285971439496-3073409.post@n5.nabble.com>
	<4CA6929B.5050105@postnewspapers.com.au>


Of course my very first post on this topic indicated that we were looking for
a solution for a problem with booleans. It took this long for all of us to
reach a conclusion that the business of type mappings are handled by
Hibernate. The following dialect class/API clearly states it. 
http://ajava.org/online/hibernate3api/org/hibernate/dialect/PostgreSQLDialect.html#toBooleanValueStr...)

Oliver did refer to Hibernate Dialect. Not very clear though. So it is
becoming evident that the types can be managed within Hibernate API or
configurations. Overriding just the above API might suffice. I wish you guys
have pointed me to this earlier. 

I am good. 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: <1285995027439-3073605.post@n5.nabble.com>
Permalink:  ../1285995027439-3073605.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1285995027439-3073605.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: <1285995027439-3073605.post@n5.nabble.com>
  References: <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> <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>

* 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