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