Hi Fabian, I am not sure whether you got a chance to look into this batch Update example.. We are also getting the following Error: [OUTPUT] Before executing the Batch and Batch Count =[37] BatchUpdateException : java.sql.BatchUpdateException: Error(s) occurred while executing the batch, see next SQLExceptions for details Next Exception : [java.sql.SQLException: current transaction is aborted (please ROLLBACK) current transaction is aborted (please ROLLBACK) current transaction is aborted (please ROLLBACK) current transaction is aborted (please ROLLBACK) current transaction is aborted (please ROLLBACK) current transaction is aborted (please ROLLBACK) current transaction is aborted (please ROLLBACK) current transaction is aborted (please ROLLBACK) current transaction is aborted (please ROLLBACK) current transaction is aborted (please ROLLBACK) current transaction is aborted (please ROLLBACK) current transaction is aborted (please ROLLBACK) current transaction is aborted (please ROLLBACK) current transaction is aborted (please ROLLBACK) current transaction is aborted (please ROLLBACK) current transaction is aborted (please ROLLBACK) current transaction is aborted (please ROLLBACK) current transaction is aborted (please ROLLBACK) current transaction is aborted (please ROLLBACK) current transaction is aborted (please ROLLBACK) current transaction is aborted (please ROLLBACK) current transaction is aborted (please ROLLBACK) current transaction is aborted (please ROLLBACK) current transaction is aborted (please ROLLBACK) current transaction is aborted (please ROLLBACK) current transaction is aborted (please ROLLBACK) current transaction is aborted (please ROLLBACK) current transaction is aborted (please ROLLBACK) current transaction is aborted (please ROLLBACK) current transaction is aborted (please ROLLBACK) current transaction is aborted (please ROLLBACK) current transaction is aborted (please ROLLBACK) current transaction is aborted (please ROLLBACK) current transaction is aborted (please ROLLBACK) current transaction is aborted (please ROLLBACK)] [/OUTPUT] In this case the batch has 37 statements and all these inserts are unique and will not violate the PK Constraint. This is the first time we got this error.. Thanks sateesh -- View this message in context: http://old.nabble.com/Java-executeBatch%28%29-behavior-tp27783879p27933775.h... Sent from the monetdb-users mailing list archive at Nabble.com.