}
public void testUUID() throws Exception {
ObjectContext context = createDataContext();
UuidTestEntity test = context.newObject(UuidTestEntity.class);
UUID id = UUID.randomUUID();
test.setUuid(id);
context.commitChanges();
SelectQuery q = new SelectQuery(UuidTestEntity.class);
UuidTestEntity testRead = (UuidTestEntity) context.performQuery(q).get(0);
assertNotNull(testRead.getUuid());
assertEquals(id, testRead.getUuid());
test.setUuid(null);
context.commitChanges();
}