stmt.setParameter("val2", i);
stmt.execute();
}
// Add some other records using the Record interface
final HBatch<HRecord> batch = conn.newHBatch();
for (int i = 5; i < 10; i++) {
HRecord rec = conn.getMapping("demo1").newHRecord();
rec.setCurrentValue("keyval", Util.getZeroPaddedNonNegativeNumber(i, 10));
rec.setCurrentValue("val1", "Value: " + i);
rec.setCurrentValue("f1:val2", i);