// different implementations, the loading mechanism will need
// to be configurable taking an option from the command line
// arguments.
DataSource ds = JDBCDataSource.getDataSource();
Load loader = new ThreadInsert(ds);
loader.setupLoad(getConnection(), scale);
if (loaderThreads > 0)
loader.setThreadCount(loaderThreads);
loader.populateAllTables();
// Way to populate data is extensible. Any other implementation
// of org.apache.derbyTesting.system.oe.client.Load can be used
// to load data. configurable using the oe.load.insert property
// that is defined in oe.properties