*/
protected void update() {
// update the instances
for (int i = 0; i < NUMBER_OF_INSTANCES; ++i) {
if (0 == i % 4) {
LongvarbinaryPK instance = createInstance(i);
instance.setName(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) {
byte[] key = getPK(i);
LongvarbinaryPK instance = session.find(LongvarbinaryPK.class, key);
verify(instance, i, true);
}
}
}