byte[] dataBytes = generateBinaryData(r, 1234 , 5000 * i);
ps.setBytes(1, dataBytes);
// calculate checksum for blob data
checksum.update(dataBytes, 0, dataBytes.length);
checksum.reset();
checksum.update(dataBytes, 0, dataBytes.length);
ps.setLong(2, checksum.getValue());
ps.setInt(3, i); // ID
updateCount += ps.executeUpdate();