Re: [BUGS] Mapping Hibernate boolean to smallint(Postgresql)

From: stagirus <mamasa(at)stagirus(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: [BUGS] Mapping Hibernate boolean to smallint(Postgresql)
Date: 2010-10-05 23:58:59
Message-ID: 1286323139238-3200618.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-jdbc


>>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.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Oliver Jowett 2010-10-06 00:01:35 Re: [BUGS] Mapping Hibernate boolean to smallint(Postgresql)
Previous Message stagirus 2010-10-05 23:49:52 Re: [BUGS] Mapping Hibernate boolean to smallint(Postgresql)

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oliver Jowett 2010-10-06 00:01:35 Re: [BUGS] Mapping Hibernate boolean to smallint(Postgresql)
Previous Message stagirus 2010-10-05 23:49:52 Re: [BUGS] Mapping Hibernate boolean to smallint(Postgresql)