Package com.oltpbenchmark.benchmarks.jpab.tests

Examples of com.oltpbenchmark.benchmarks.jpab.tests.BasicTest.persist()


        test.setBatchSize(10);
        test.setEntityCount(objectCount);
        test.buildInventory(objectCount);
        while (test.getActionCount() < objectCount) {
            System.out.println(test.getActionCount()+ " % "+objectCount);
            test.persist(em);
        }
        test.clearInventory();
    }

}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.