|
string oracle = "select FAPPDEPT,FADDRESS,FADDRESSDETAIL,FAPPTYPE,FRESPONSIBLEPERSON,FPHONE from confidentialRoomCheck";
HashMap<String, String> sqlMap = new HashMap<String, String>();
sqlMap.put(DatabaseProduct.ORACLE.name(), oracle);
Table table = SQL.select(sqlMap, null, "/secretSystemForCity/TechnologyManage/aptitudeManage/data");
这里的代码是我使用oracle数据库时运用上面的代码查询表中数据后返回table对象给报表,
如果这里我使用的是达梦数据库的话,DatabaseProduct后面跟的应该是什么呢?
|
|