context.commitChanges();
}
public void testBigDecimal() throws Exception {
BigDecimalEntity test = context
.newObject(BigDecimalEntity.class);
BigDecimal i = new BigDecimal("1234567890.44");
test.setBigDecimalField(i);
context.commitChanges();
SelectQuery q = new SelectQuery(BigDecimalEntity.class);
BigDecimalEntity testRead = (BigDecimalEntity) context.performQuery(q).get(0);
assertNotNull(testRead.getBigDecimalField());
assertEquals(i, testRead.getBigDecimalField());
test.setBigDecimalField(null);
context.commitChanges();
}