setArray() - Mailing list pgsql-jdbc

From Conor Beverland
Subject setArray()
Date
Msg-id Pine.LNX.4.58.0401121428070.7711@active45.doc.ic.ac.uk
Whole thread Raw
Responses Re: setArray()  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
Hi,

I'd like to insert a large array of integers into the database (15000)
However I can't seem to get PreparedStatement.setArray() to work.

I saw a patch in the archives regarding this but I'm not in control of
the java installation which I'm using.

I'm currently converting my array into a string before inserting it
and using setString()... However this is *very* slow!

Any advice would be much appreciated,
Conor

pgsql-jdbc by date:

Previous
From: Paul Thomas
Date:
Subject: Re: PreparedStatement parameters and mutable objects
Next
From: Kris Jurka
Date:
Subject: Re: setArray()