test.setCharArray(null);
context.commitChanges();
}
public void testCharacterArray() {
ArraysEntity test = context.newObject(ArraysEntity.class);
Character[] a = new Character[] {
new Character('x'), new Character('y'), new Character('z')
};
test.setCharWrapperArray(a);
context.commitChanges();
SelectQuery q = new SelectQuery(ArraysEntity.class);
ArraysEntity testRead = (ArraysEntity) context.performQuery(q).get(0);
assertNotNull(testRead.getCharWrapperArray());
assertArraysEqual(a, testRead.getCharWrapperArray());
test.setCharWrapperArray(null);
context.commitChanges();
}