摘要: 1 //新建datatable存放返回值 2 3 DataTable ret = new DataTable(); 4 5 ret.Columns.Add("nodeid"); 6 7 /// 8 ... 在datatable中添加列 9 /// 10 ret.Columns.Add("opinio 阅读全文
posted @ 2019-12-31 10:27 孤城青衫落 阅读(195) 评论(0) 推荐(0)
摘要: 1- try { DataTable dtResult = new DataTable(); if (arrayList == null || arrayList.Count < 1) { return dtResult; } if (arrayList.Count > 0) { Hashtable 阅读全文
posted @ 2019-11-22 13:38 孤城青衫落 阅读(265) 评论(0) 推荐(0)
摘要: 本地测试数据库临时表太多无用,用循环删除表 1 declare 2 3 --i integer; 4 v_tablename varchar2(20); 5 v_sql varchar2(200); --定义表名 6 CURSOR emp_cursor IS select TABLE_NAME fr 阅读全文
posted @ 2019-11-09 15:55 孤城青衫落 阅读(227) 评论(0) 推荐(0)
摘要: 在开发中使用Hessian协议本地junit测试可使用 com.caucho.hessian.client.HessianProxyFactory 中方法实现注册的server接口 在dao中定义方法test 在remote.xml中定义接口 在 junit中使用HessianProxyFactor 阅读全文
posted @ 2019-10-28 20:30 孤城青衫落 阅读(319) 评论(0) 推荐(0)
摘要: DynamicDataSource 事务 阅读全文
posted @ 2019-10-21 17:19 孤城青衫落 阅读(1242) 评论(0) 推荐(0)
摘要: XML实体类 XML帮助类 测试调用工具类生成xml字符串 PS:工具类中有生成xml文件的方法 阅读全文
posted @ 2019-05-08 17:42 孤城青衫落 阅读(496) 评论(0) 推荐(0)
摘要: 大小写互换 获取uuid 判断字符串非空 获得当前时间并转换为 确定格式的string string格式日期增减 得到一个500+节点的json文件(被转换为string格式了) 阅读全文
posted @ 2019-05-08 16:01 孤城青衫落 阅读(147) 评论(0) 推荐(0)