01private static void getPilotsSODA() throws IOException { 02
System.out.println("Retrieving Pilot objects: SODA"); 03
ObjectContainer oc = Db4o.openClient("localhost", 0xdb40, "db4o","db4o"); 04
try { 05
Query query = oc.query(); 06
07
query.constrain(Pilot.class); 08
query.descend("points").constrain(5); 09
10
ObjectSet result = query.execute(); 11
listResult(result); 12
} finally { 13
oc.close(); 14
} 15
}