conver all views

/**
* <一句话功能简述> <功能详细描述> [参数说明]
*
* @return void [返回类型说明]
* @exception throws
*                [违例类型] [违例说明]
* @see [类、类#方法、类#成员]
*/
public void convertAllViews() {
DBtoDB dbToDb = null;
if (this.originDB.getDbType().equalsIgnoreCase("oracle")
&& this.targetDB.getDbType().equalsIgnoreCase("hsql")) {
dbToDb = new OraToHsql();
} else if (this.originDB.getDbType().equalsIgnoreCase("hsql")
&& this.targetDB.getDbType().equalsIgnoreCase("oracle")) {
dbToDb = new HsqlToOra();
}
if (null != dbToDb) {
for (int i = 0; i < users.size(); i++) {
DBUser user = users.get(i);
dbToDb.convertAllViews(originDB, user, targetDB, user, null);
}
}
}

你可能感兴趣的:(oracle)