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