1>adf标准视图查询,用到RowMatch对结果查询,一定记得在vo.executeQuery()后,调用setRowMatch(null),否则其它页面的结果中会加上查询条件,导致结果不正确。

            PlanDetailVOImpl vo=   this.getPlanDetail1();
            RowMatch rm=new RowMatch();
            rm.setWhereClause("plan_type_sub_uuid='jdht'");
            vo.setRowMatch(rm);
            vo.executeQuery();
            vo.setRowMatch(null);

2>adf调用webservices,有返回值的方法,为空时返回"[]"而不是null

程序员的基础教程:菜鸟程序员

posted on 2014-12-29 22:41  itprobie-菜鸟程序员  阅读(285)  评论(0编辑  收藏  举报