jdbc batch insert

Поиск
Список
Период
Сортировка
От Sriram Dandapani
Тема jdbc batch insert
Дата
Msg-id 6992E470F12A444BB787B5C937B9D4DF060E5BB1@ca-mail1.cis.local
обсуждение исходный текст
Ответы Re: jdbc batch insert
Список pgsql-jdbc

Hi

 

I have a problem where the batch inserts behave as if the transactions were done on a single row by single row basis. When I check the return value of the batch update

 

int[]  updateStatus = preparedStatement.executeBatch();

 

I get as many array entries as the number of rows inserted.

 

I use postgres 8.1.2 with the 8.1.404 driver.

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: "William Ponce"
Дата:
Сообщение: Problem with driver JDBC
Следующее
От: "Guy Rouillier"
Дата:
Сообщение: Re: Problem with driver JDBC