BasicA ba = new BasicA();
ba.writeF1("testManyThreadConcurrentData_" + i);
ba.writeF2(i);
pm.makePersistent(ba);
oids[i] = pm.getObjectId(ba);
s[i] = new Semaphore();
}
pm.currentTransaction().commit();
//clean the cache
pmf.getDataStoreCache().evictAll();