Expression qual = ExpressionFactory.matchExp("tinyintCol", new Byte((byte) 81));
List objects = context
.performQuery(new SelectQuery(TinyintTestEntity.class, qual));
assertEquals(1, objects.size());
TinyintTestEntity object = (TinyintTestEntity) objects.get(0);
assertEquals(new Byte((byte) 81), object.getTinyintCol());
}