码迷,mamicode.com
首页 >  
搜索关键字:connection timed out    ( 41605个结果
数字转换枚举
var status = new Enums.AffairsOperatingResult(); int typeNum = 0; int.TryParse(statusStr, out typeNum); try ...
分类:其他好文   时间:2014-06-18 11:14:40    阅读次数:181
JSON--List集合转换成JSON对象
转自:http://www.cnblogs.com/xmaomao/p/3184542.html1. 简单的手动放置 键值对 到JSONObject,然后在put到JSONArray对象里List al = articleMng.find(f); System.out.prin...
分类:Web程序   时间:2014-06-18 10:48:53    阅读次数:311
选择排序
package foo;import java.util.Arrays;public class Main { public static void selectionSort(int[] a, int len) { int in, out, min; fo...
分类:其他好文   时间:2014-06-18 10:31:17    阅读次数:220
计算系数(noip2011)
【问题描述】给定一个多项式(ax + by)^k,请求出多项式展开后(x^n)*(y^m)项的系数。【输入】输入文件名为 factor.in。共一行,包含 5 个整数,分别为a,b,k,n,m,每两个整数之间用一个空格隔开。【输出】输出文件名为 factor.out。输出共 1 行,包含一个整数,表...
分类:其他好文   时间:2014-06-18 08:21:48    阅读次数:172
jdbc调用 oracle 存储过程操作
创建有参存储函数findEmpNameAndSal(编号),查询7902号员工的的姓名和月薪,【返回多个值,演示out的用法】当返回2个或多个值,必须使用out符号当返回1个值,就无需out符号create or replace function findEmpNameAndSal(pempno i...
分类:数据库   时间:2014-06-17 23:34:01    阅读次数:332
Calendar的一个用法
importjava.util.Calendar; publicclassCalendarTest { /** *Jun16,2014 */ publicstaticvoidmain(String[]args) { //TODOAuto-generatedmethodstub Calendarc=Calendar.getInstance();//默认由当前的日期和时间初始化 System.out.println(c.getClass().getNam..
分类:其他好文   时间:2014-06-17 18:34:21    阅读次数:202
jenkins中Check-out Strategy的各选项测试
Use‘svnupdate’asmuchaspossible第一次发布的时候,会把工作目录下的所有文件清空,然后check-out一份完整的项目到工作目录下;以后更新的时候,不会判断已有文件是否在svn里存在。比如工作目录下的文件123在svn里不存在,那么更新的时候不会删除123。不会判断工作目录下的文..
分类:其他好文   时间:2014-06-17 18:07:43    阅读次数:6157
在struts2的Action、Service中慎起get打头的方法
由于之前合并了流程及表单分类,在高级查询和流程管理页面打开z-tree树时,前端页面报出queryAllCategory()的空指针异常(逐步调试后在该方法中无空指针异常),并报如下错误:[16/06/1407:30:07:007CST]DEBUGsql.Connection:xxxConnectionClosedorg.codehaus.jackson.map.Json..
分类:其他好文   时间:2014-06-17 17:41:14    阅读次数:190
DecimalFormat 中的 0 和 #
importjava.text.DecimalFormat; publicclassDecimalFormatTest { publicstaticvoidmain(String[]args){ DecimalFormatdf1,df2; System.out.println("整数部分0/#的区别"); df1=newDecimalFormat("#.00"); df2=newDecimalFormat("0.00"); System.out.p..
分类:其他好文   时间:2014-06-17 17:32:15    阅读次数:249
sys_refcursor的用法实例
--创建过程,参数为sys_refcursor,为out型 create or replace procedure aabbsys_refcursor(o out sys_refcursor) is begin open o for select * from basplumain; end; --- --测试过程,使用aabbsys_refcursor传出的值 create or repla...
分类:其他好文   时间:2014-06-17 16:04:12    阅读次数:180
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!