prequel
prequel copied to clipboard
bad name for the executeBatch method
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.
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.