ejb ql 返回object

String sqlStr="select t.car_kind,count(t) from table1 t where t.jb_date='"+jb_date+"' and t.state='"+state+"' and t.sbzt='1' and t.bureau_code='"+ljdm+"' group by t.car_kind";



List<Object[]> ob = DdmlCommServiceFactory.getInstance()
.getCommonRemote().getListByEjbQl(sqlStr, new String[] {},
new Object[] {})
//获取值的方式
String.valueOf(ob.get(i)[1]);
原文地址:https://www.cnblogs.com/stono/p/4381182.html