CachedRowSet的用法
生活随笔
收集整理的這篇文章主要介紹了
CachedRowSet的用法
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
String sql="select item_code from xt_dictionary_item where type_id='32' and parent_itemid='0' order by view_index";
Delegate dg=new Delegate("");
CachedRowSet crs = dg.getRowSet(sql);
Dictionary dd = Dictionary.getInstance();
while(crs.next()){
Map<String,String> map=new HashMap<>();
map.put("item_code", crs.getString("item_code"));
map.put("typename", dd.getDicItemName("ZD_20003", crs.getString("item_code")));
list.add(map);
}
總結
以上是生活随笔為你收集整理的CachedRowSet的用法的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 《忘不了餐厅》第二季主题曲、插曲是什么歌
- 下一篇: velocity注释 Velocity模