Re: Bug: Driver(8.2dev-500.jdbc3) does not handle - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: Bug: Driver(8.2dev-500.jdbc3) does not handle
Date
Msg-id 43A94D7A.8010702@opencloud.com
Whole thread Raw
In response to Re: Bug: Driver(8.2dev-500.jdbc3) does not handle  (Csaba Nagy <nagy@ecircle-ag.com>)
List pgsql-jdbc
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

pgsql-jdbc by date:

Previous
From: Markus Schaber
Date:
Subject: Re: Bug: Driver(8.2dev-500.jdbc3) does not handle
Next
From: "Averbukh Stella"
Date:
Subject: java.sql.BatchUpdateException