pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Csaba Nagy <nagy@ecircle-ag.com>
Cc: j.random.programmer <javadesigner@yahoo.com>
Cc: pg@fastcrypt.com
Cc: Postgres JDBC <pgsql-jdbc@postgresql.org>
Subject: Re: Bug: Driver(8.2dev-500.jdbc3) does not handle
Date: Thu, 22 Dec 2005 01:41:30 +1300
Message-ID: <43A94D7A.8010702@opencloud.com> (raw)
In-Reply-To: <1135157548.14216.108.camel@coppola.muc.ecircle.de>
References: <20051221044129.56245.qmail@web32013.mail.mud.yahoo.com>
	<43A902CC.7020404@opencloud.com>
	<1135157548.14216.108.camel@coppola.muc.ecircle.de>

Csaba Nagy wrote:
> [snip]
> 
>>Another possible mapping would be to/from a Java boolean array. This has 
>>the problem that a Java array of booleans passed to setObject() should 
>>probably be mapped to an array of booleans on the server side, not to a 
>>bit(n) type.
> 
> 
> What about a java.util.BitSet ? Or does it have to extend PGObject ?

BitSet would work. The only real reason to extend PGobject is so you can 
implement support for extra types without modifying the driver itself.

-O



view thread (14+ messages)

Message-ID: <43A94D7A.8010702@opencloud.com>
Permalink:  ../43A94D7A.8010702@opencloud.com/
Also on:    postgresql.org/message-id/43A94D7A.8010702@opencloud.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: oliver@opencloud.com, nagy@ecircle-ag.com, javadesigner@yahoo.com, pg@fastcrypt.com
  Subject: Re: Bug: Driver(8.2dev-500.jdbc3) does not handle
  In-Reply-To: <43A94D7A.8010702@opencloud.com>
  References: <20051221044129.56245.qmail@web32013.mail.mud.yahoo.com> <43A902CC.7020404@opencloud.com> <1135157548.14216.108.camel@coppola.muc.ecircle.de> <43A94D7A.8010702@opencloud.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