码迷,mamicode.com
首页 >  
搜索关键字:connection has timed    ( 17005个结果
使用Log4net调试NHibernate
摘录:使用Log4net调试NHibernate如果是Asp.net程序,首先配置web.config文件: NHibernate.Dialect.MsSql2000Dialect NHibernate.Connection.DriverConnectionProvider Serv...
分类:Web程序   时间:2014-07-02 23:56:29    阅读次数:492
Leetcode Path Sum
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.Fo...
分类:其他好文   时间:2014-07-02 22:34:44    阅读次数:318
Eclipse代理设置
这段时间公司实行代理上网,不仅通过浏览器上网须要不停的输入username和password,在本地调试程序时候Eclipse居然也弹出框让输入username和password。如图:解决的方法:windows--preferences--general---Network Connection....
分类:系统相关   时间:2014-07-01 22:00:21    阅读次数:400
java web进阶篇(四) Tomcat数据源
动态web开发的最大特点是可以警醒数据库的操作,传统的jdbc操作由于错组哦步骤重复性造成程序性能下降。 西安回顾JDBC的操作原理 1、加载数据库驱动程序,数据库驱动程序通过classpath配置。 2、通过DirverManager类取得数据库连接对象。 3、通过Connection实例化PreparedStatement对象,编写sql语句命令操作数据库。 4、数据库属于资源操作,...
分类:编程语言   时间:2014-07-01 14:24:02    阅读次数:232
Leetcode:Merge Sorted Array 归并排序
Sorted Array:Given two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough space (size that is gre...
分类:其他好文   时间:2014-07-01 12:51:53    阅读次数:202
Linked List Cycle
题目 Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space? 方法 /** * Definition for singly-linked list. * class ListNode { ...
分类:其他好文   时间:2014-07-01 11:31:40    阅读次数:178
Spring整合HIbernate时,三种数据库连接池的配置和比较
现在常用的开源数据库连接池主要有c3p0、dbcp、proxool三种,其中: Spring                         推荐使用dbcp; Hibernate                  推荐使用c3p0和proxool;  1、  DBCP:Apache DBCP(DataBase connection pool)数据库连接池。是Apache上...
分类:数据库   时间:2014-07-01 10:42:59    阅读次数:209
Raspberry Pi Resources-Using the UART
参考:RPi Serial Connection本文来自:http://www.raspberry-projects.com/pi/programming-in-c/uart-serial-port/using-the-uartUsing the UARTIf you are running Ras...
分类:Web程序   时间:2014-07-01 10:21:01    阅读次数:982
windows下GVIM的配置(vimrc)
学习python时想要在gvim中配置python的编译环境,网上找到一个比较好用的vimrc配置,保存下来以备下次有需要。set encoding=utf-8set termencoding=utf-8set fileencodings=utf-8,chinese,latin-1if has("w...
分类:Windows程序   时间:2014-07-01 10:20:25    阅读次数:1794
创建android画笔程序的例子(有镜面效果)
关键是在检测到手指移动的时候用mPath.quadTo的方法,android sdk解释是: Add a quadratic bezier from the last point, approaching control point (x1,y1), and ending at (x2,y2). If no moveTo() call has been made fo...
分类:移动开发   时间:2014-07-01 08:07:39    阅读次数:289
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!