Re: Array support - Mailing list pgsql-jdbc

From Thomas O'Dowd
Subject Re: Array support
Date
Msg-id 1114701429.8404.94.camel@localhost.localdomain
Whole thread Raw
In response to Re: Array support  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
Kris,

> Right, the ARRAY[] syntax is part of the parser which doesn't get invoked
> on parameters, so you need to use the {} format.

Gotcha.

> > Q: How do I set an array column to null using a PreparedStatement?
>
> This is indeed a bug, I've fixed this in the 8.0 + head branches.  Updated
> jar files are available here:
>
> http://www.ejurka.com/pgsql/jars/tod/

Just downloaded the new driver and tested it. It works a charm. Thanks
for tracking this down so promptly and making the jar available.

Best regards,

Tom.


pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: _pg_keyposition is gone in HEAD
Next
From: Kris Jurka
Date:
Subject: Re: Statement Timeout and Locking