Using SELECT IN with prepared statement - Mailing list pgsql-jdbc

From Tiago Alves
Subject Using SELECT IN with prepared statement
Date
Msg-id 4918CC8A.9030202@tapestry.pt
Whole thread Raw
Responses Re: Using SELECT IN with prepared statement  (Alexander Panzhin <jalexoids@gmail.com>)
Re: Using SELECT IN with prepared statement  (Ingmar Lötzsch <iloetzsch@asci-systemhaus.de>)
List pgsql-jdbc
Greetings!

Sorry if you answer this before, I couldn't find it.

I want to do something like:

PreparedStatement ps = connection.prepareStatement("select * from users
where userid in ?");
ps.setSomething(anIntArray);

Is this possible? How?

Thanks.
Tiago A.

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: Pgsql jdbc driver 8.3 Build 603: Commit deadlock
Next
From: Oliver Jowett
Date:
Subject: Re: Pgsql jdbc driver 8.3 Build 603: Commit deadlock