解决Hibernate MySql "Too Many Connection"错误解决方案...
分类:
数据库 时间:
2014-10-23 14:31:16
阅读次数:
149
新装的centos6.3+db29.7,数据库导入完了的之后用Toad连接访问之的时候出错了。DB2 Database Error: ERROR [08001] [IBM] SQL30081N A communication error has been detected. Communicatio...
分类:
数据库 时间:
2014-10-23 12:19:11
阅读次数:
450
在mac上更新android studio时,总是弹出上面alert,解决方法是在进入到Android Studio.app/Content/bin目录下在idea.vmoptions文件添加一下内容就OK了 -Djava.net.preferIPv4Stack=true
-Didea.updates.url=http:...
分类:
移动开发 时间:
2014-10-23 00:11:47
阅读次数:
189
Given a linked list, determine if it has a cycle in it.
Follow up:
Can you solve it without using extra space?
关键点:1)判断链表是否有环。
2)一个小坑在判断root和root的next是否为空上。
3)可以看为追及问题。最关键的坑在判断快走(每次走2步的节点),走1步会...
分类:
其他好文 时间:
2014-10-23 00:03:10
阅读次数:
276
Location of the Android sdk has not been setup in the preference。 分析与解决: 第一次安装好adt后, 选择android sdk的路径后, 不再弹出。 Cannot create project content in workspa...
分类:
Web程序 时间:
2014-10-22 23:14:08
阅读次数:
223
Statement实现批处理:
优点:能够处理多种不同结构的sql语句
缺点:不能预处理,执行效率较差。对于参数不同的同一条sql语句需要多次调用addBatch()
package com.itheima.batch;
import java.sql.Connection;
import java.sql.Statement;
import org.junit.Test;
impor...
分类:
数据库 时间:
2014-10-22 22:05:47
阅读次数:
358
Maximum Product SubarrayFind the contiguous subarray within an array (containing at least one number) which has the largest product.For example, given...
分类:
其他好文 时间:
2014-10-22 19:51:21
阅读次数:
272
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@....
分类:
其他好文 时间:
2014-10-22 17:59:31
阅读次数:
101
针对新板调试,不针对EVM板。
TI XDS560连上DM8168 20pin仿真接口
launch 8168.ccxml,右击CortexA8,选择Connect Target
出现错误如下:
“Error connecting to the target: (Error -181 @ 0x0)
The controller has detected a dead JTAG cloc...
分类:
其他好文 时间:
2014-10-22 15:55:41
阅读次数:
266
Wormholes
Time Limit: 2000MS
Memory Limit: 65536K
Total Submissions: 31762
Accepted: 11561
Description
While exploring his many farms, Farmer John has discovered a nu...
分类:
其他好文 时间:
2014-10-22 14:38:55
阅读次数:
205