最近写了一个数据库采集程序,大概过程是将SQLSERVER数据库的数据定时采集到Oracle数据库。1小时出一次数据,每次数据量在2W左右。环境采用Sping3+hibernate4,数据库连接池采用C3p0
奇怪的时候每隔一段时间都会报:“c3p0 connection is already closed”
我开始的数据库连接池配置如下:oracle数据库开启事务,而采集的sqlserve...
分类:
其他好文 时间:
2014-06-08 18:02:04
阅读次数:
182
Recently, I’m studying Fourier Transform by
watching the lectures from Stanford University. I felt that I already forget the
math basics that I’ve lea...
分类:
其他好文 时间:
2014-06-07 20:57:16
阅读次数:
506
1>MSVCRT.lib(MSVCR100.dll) : error LNK2005: "public: virtual char const * __thiscall std::exception::what(void)const " (?what@exception@std@@UBEPBDXZ) already defined in libcmt.lib(stdexcpt.obj)
1>MS...
分类:
其他好文 时间:
2014-06-07 14:42:14
阅读次数:
947
Today is the last day that all the laptops of
winXP OS should be upgrade to WIN7. After updated. when i tried to debug my
application,i received this ...
分类:
其他好文 时间:
2014-06-06 15:51:14
阅读次数:
275
Appliesto:
OracleServer-EnterpriseEdition-Version:8.1.7.4to11.2.0.2.0-Release:8.1.7to11.2
GenericUNIX
当检查oracle实例后台进程不存在这时启动启动数据库报错:
ORA-01081:"cannotstartalready-runningORACLE-shutitdownfirst"
造成此种原因是
Orphanedsharedmemor..
分类:
数据库 时间:
2014-06-02 04:04:29
阅读次数:
844
http://0pointer.de/blog/projects/systemd.htmlRethinking PID 1If you are well
connected or good at reading between the lines you might already know wha...
分类:
其他好文 时间:
2014-05-31 11:29:28
阅读次数:
286
Original link: How to check if Directory
already Exists in MFC(VC++)?MSDN Links:CreateDirectory functionGetFileAttributes
functionGetLastError functio...
分类:
其他好文 时间:
2014-05-29 17:49:25
阅读次数:
371
启动tomcat的时候出现异常 严重: StandardServer.await:
create[8005]: java.net.BindException: Address already in use: JVM_Bind at
java.net.PlainSocketImpl...
分类:
其他好文 时间:
2014-05-26 18:18:35
阅读次数:
183
Several ports(8080,8009)required by Tomcat v6.0 Server at localhost are already in use.The server may already be running in another process, or a system process may be using the port, To start this server you will need to stop the other process or change t...
分类:
编程语言 时间:
2014-05-26 03:41:22
阅读次数:
364
Command to launch genymotion headless -player
--vm-name Nexus_4if player is not already added to path, add it to path using
below command in your ~/.b...
分类:
其他好文 时间:
2014-05-24 10:13:35
阅读次数:
320