X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 429FB9DC823 for ; Wed, 21 Dec 2005 08:41:35 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 96014-10 for ; Wed, 21 Dec 2005 08:41:38 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [131.203.101.226]) by postgresql.org (Postfix) with ESMTP id F11109DC804 for ; Wed, 21 Dec 2005 08:41:32 -0400 (AST) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.20]) by yass.opencloud.co.nz with asmtp (TLS-1.0:DHE_RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1Ep3Hg-0007OJ-KQ; Thu, 22 Dec 2005 01:41:32 +1300 Message-ID: <43A94D7A.8010702@opencloud.com> Date: Thu, 22 Dec 2005 01:41:30 +1300 From: Oliver Jowett User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051009) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Csaba Nagy CC: "j.random.programmer" , pg@fastcrypt.com, Postgres JDBC Subject: Re: Bug: Driver(8.2dev-500.jdbc3) does not handle References: <20051221044129.56245.qmail@web32013.mail.mud.yahoo.com> <43A902CC.7020404@opencloud.com> <1135157548.14216.108.camel@coppola.muc.ecircle.de> In-Reply-To: <1135157548.14216.108.camel@coppola.muc.ecircle.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.098 required=5 tests=[AWL=0.098] X-Spam-Score: 0.098 X-Spam-Level: X-Archive-Number: 200512/107 X-Sequence-Number: 14438 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