Re: IN clauses via setObject(Collection) [Was: Re: Prepared

From: Dmitry Tkach <dmitry(at)openratings(dot)com>
To: Fernando Nasser <fnasser(at)redhat(dot)com>
Cc: Oliver Jowett <oliver(at)opencloud(dot)com>, Kim Ho <kho(at)redhat(dot)com>, Barry Lind <blind(at)xythos(dot)com>, pgsql-jdbc-list <pgsql-jdbc(at)postgresql(dot)org>, Dave Cramer <Dave(at)micro-automation(dot)net>
Subject: Re: IN clauses via setObject(Collection) [Was: Re: Prepared
Date: 2003-07-21 17:55:41
Message-ID: 3F1C291D.1000003@openratings.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

>
> Also, we may limit this behavior with Collections to the IN clause
> only. Where else could we need lists to replace the '?' ?
>
Arrays would be nice :-) (so that the user would not have to implement
his own java.sql.Array, and wrap his collections into it to be able to
set array parameters).
Informix supports that, for example (but it has to be ArrayList for some
reason - not just any Collection), oracle does too IIRC...

Dima

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message scott.marlowe 2003-07-21 18:10:33 Re: Number of function parameter
Previous Message Dmitry Tkach 2003-07-21 17:52:47 Re: Detecting 'socket errors' - closing the Connection object