DBDatabaseDriver driver = dbResource.newDriver();
CompanyDB db = new CompanyDB();
db.open(driver, dbResource.getConnection());
DBSQLScript script = new DBSQLScript();
db.getCreateDDLScript(db.getDriver(), script);
script.run(db.getDriver(), dbResource.getConnection(), false);
DBRecord dep = new DBRecord();
dep.create(db.DEPARTMENT);
dep.setValue(db.DEPARTMENT.NAME, "junit");
dep.setValue(db.DEPARTMENT.BUSINESS_UNIT, "test");