ClientConnection connection = new LocalConnection(new ClientServerChannel(
getDomain()));
ClientChannel channel = new ClientChannel(connection);
CayenneContext context = new CayenneContext(channel);
ClientMtTableBool obj = context.newObject(ClientMtTableBool.class);
obj.setBlablacheck(true);
obj.setNumber(3);
context.commitChanges();
SelectQuery query = new SelectQuery(MtTableBool.class);
List<MtTableBool> results = dataContext.performQuery(query);
assertTrue(results.get(0).isBlablacheck());
assertEquals(3, results.get(0).getNumber());
obj.setBlablacheck(false);
obj.setNumber(8);
context.commitChanges();
query = new SelectQuery(MtTableBool.class);
results = dataContext.performQuery(query);