*/
public class RunQueryListFromOracleWithCursor {
public static void main(String[] args) {
Dao g4Dao = (Dao)SpringBeanLoader.getSpringBean("g4Dao");
Dto prcDto = new BaseDto();
prcDto.put("prm_Xm", "李");
g4Dao.callPrc("Demo.g4_prc_cursor_demo", prcDto);
List list = prcDto.getAsList("cur_list");
for (int i = 0; i < list.size(); i++) {
Dto dto = (BaseDto)list.get(i);
System.out.println(dto.getAsString("xm") + ":" + dto.getAsBigDecimal("fyze"));
}
}