db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Abbott" <br...@dommoni.com>
Subject PreparedStatement.addBatch/executeBatch issues
Date Tue, 31 Aug 2004 07:21:07 GMT
Has anyone had any problems executing addBatch(void) and executeBatch(void) in Derby?

I have a loop that inserts integers into a two column table. At the bottom of the iteration
is a call to addBatch() once the loop finishes, I call executeBatch(). However I'm missing
a great deal of data. I'm creating the connection with autoCommit set to false and calling
Connection.commit() later in the sequence. Any ideas?

View raw message