@Override
protected List<Worker> makeWorkersImpl(boolean verbose) throws IOException {
ArrayList<Worker> workers = new ArrayList<Worker>();
emf = Persistence.createEntityManagerFactory(jpabConf.getPersistanceUnit());
Test test = null;
try {
test = (Test)Class.forName("com.oltpbenchmark.benchmarks.jpab.tests."+this.jpabConf.getTestName()).newInstance();
int totalObjectCount= (int) this.workConf.getScaleFactor();
test.setBatchSize(1);
test.setEntityCount(totalObjectCount);
test.setEntityCount(totalObjectCount);
test.buildInventory(totalObjectCount * 13 / 10);
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
for (int i = 0; i < workConf.getTerminals(); ++i) {