prequel icon indicating copy to clipboard operation
prequel copied to clipboard

bad name for the executeBatch method

Open crumbpicker opened this issue 13 years ago • 1 comments

JDBC provides a feature which allows to make several INSERTs once using the addBatch/executeBatch mechanism. However the current implementation of the executeBatch method seems to only perform the preparedStatement feature. This method should be renamed to executePrepared or something like that because the current name is confusing. However an implementation of the executeBatch method using addBatch/executeBatch would be great.

crumbpicker avatar Sep 17 '11 13:09 crumbpicker

Yes, this also misled me.

Also, for a true batch method, it would be great if you could configure a batch size, e.g. 1000 rows, instead of having to deal with it manually.

jakajancar avatar May 24 '12 15:05 jakajancar