context.commitChanges();
}
public void testBigInteger() throws Exception {
BigIntegerEntity test = context
.newObject(BigIntegerEntity.class);
BigInteger i = new BigInteger("1234567890");
test.setBigIntegerField(i);
context.commitChanges();
SelectQuery q = new SelectQuery(BigIntegerEntity.class);
BigIntegerEntity testRead = (BigIntegerEntity) context.performQuery(q).get(0);
assertNotNull(testRead.getBigIntegerField());
assertEquals(i, testRead.getBigIntegerField());
test.setBigIntegerField(null);
context.commitChanges();
}