db.open(databaseNameFarAway, Database.OPEN_READ_WRITE);
for (int i = 0; i < arr.length; i++)
{
Transaction tx = ojb.newTransaction();
tx.begin();
db.deletePersistent(arrFarAway[i]);
tx.commit();
}
db.close();
long stop = System.currentTimeMillis();
times[3] = times[3] + (stop - start);