public static void retrieveByConjunction(ObjectContainer db) {
Query query = db.query();
query.constrain(Pilot.class);
Constraint constr = query.descend("name").constrain("Michael Schumacher");
query.descend("points").constrain(new Integer(99)).and(constr);
ObjectSet result = query.execute();
listResult(result);
}