Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

jdbc batch insert



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.



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group