long OID=0;
System.out.println( db.echo( "FROM hello" ));
long t1 = System.currentTimeMillis();
for (int i=0; i<1000; i++) {
OID = db.store( new Info("Hello from client"));
if (i % 100 == 0)
System.out.println("Stored with oid=" + OID);
}
long t2 = System.currentTimeMillis();
for (long oid = OID; oid > OID - 10; oid--) {
try {
Info info = db.getByID(Info.class, oid);
System.out.println(oid + " " + info);
} catch (Exception ex) {
System.err.println(ex.getMessage());
}
}