setArray()

Поиск
Список
Период
Сортировка
От Conor Beverland
Тема setArray()
Дата
Msg-id Pine.LNX.4.58.0401121428070.7711@active45.doc.ic.ac.uk
обсуждение исходный текст
Ответы Re: setArray()  (Kris Jurka <books@ejurka.com>)
Список 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 по дате отправления:

Предыдущее
От: Paul Thomas
Дата:
Сообщение: Re: PreparedStatement parameters and mutable objects
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: setArray()