setArray()

From: Conor Beverland <cb801(at)doc(dot)ic(dot)ac(dot)uk>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: setArray()
Date: 2004-01-12 14:40:55
Message-ID: Pine.LNX.4.58.0401121428070.7711@active45.doc.ic.ac.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2004-01-12 14:51:51 Re: setArray()
Previous Message bvol 2004-01-12 13:33:19 unsubscribe