![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
S2SH
个人知识管理布道师
这个作者很懒,什么都没留下…
展开
-
Extjs与Struts2交互,返回JSON数据的两种实现方式
方案1需要配置jar包:json-lib-2.3-jdk15.jar,struts.xml不需要配置json result.Action不支持return返回结果.返回JSON方式:response.getWriter().write("xxxx");struts.xml配置案列原创 2016-07-10 00:16:43 · 1203 阅读 · 0 评论 -
Hibernate中关于hibernate hql select new map的用法详解
使用案例String queryStr = "select new Map(c.id as id,c.name as name,c.pycode as pycode,c.postcode as postcode," + "c.areacode as areacode,c.sProvince.name as pname) from City c where c.sProvince.nam原创 2016-07-10 00:51:28 · 4141 阅读 · 0 评论 -
hibernate调用oracle存储过程案列
create or replace procedure province_test(pro_name in varchar,pro_count out int) isbegin select count(id) into pro_count from s_city where pid=(select id from s_province where name=pro_name);end原创 2016-07-11 22:46:08 · 1480 阅读 · 0 评论