*/
protected void update() {
// update the instances
for (int i = 0; i < NUMBER_OF_INSTANCES; ++i) {
if (0 == i % 4) {
LongIntStringPK instance = createInstance(i);
instance.setStringvalue(getValue(NUMBER_OF_INSTANCES - i));
session.updatePersistent(instance);
verify(instance, i, true);
}
}
// verify the updated instances
for (int i = 0; i < NUMBER_OF_INSTANCES; ++i) {
if (0 == i % 4) {
Object[] key = new Object[]{getPK1(i), getPK2(i), getPK3(i)};
LongIntStringPK instance = session.find(LongIntStringPK.class, key);
verify(instance, i, true);
}
}
}