Array paramiters

From: "ben sagal" <BSagal+pgsql(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Array paramiters
Date: 2007-06-04 13:29:32
Message-ID: b72a6e130706040629j4b44ee6g60c15d61b146fc5@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

I would like to query data based on the values in a java int array ( int[]
), using a prepared statement similar to:

"SELECT * FROM items WHERE id IN (?)"

can anybody advise in have to set the prepared in the statement?

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Collin Peters 2007-06-05 01:08:39 PostgreSQL JDBC support for runtime configuration options
Previous Message Kalle Hallivuori 2007-06-01 12:53:18 Re: FYI: porting Copy API to 8.x