使用spring整合hibernate时,需要用到数据源,数据源使用apache的dbcp,使用dbcp时需要依赖pool的jar包,选择dbcp和pool时需要注意。
DBCP 2 compiles and runs under Java 7 only (JDBC 4.1)DBCP 1.4 compiles and runs under Java 6 only (JDBC 4)DBCP...
分类:
数据库 时间:
2014-06-20 13:19:33
阅读次数:
219
17.4、Making User-Managed Backups of Online Tablespaces and Datafiles
当数据库打开时,可以备份一个在线表空间所有和一个指定的数据文件。备份过程的区别依赖于在线表空间是read、write或者read-only。
注意:不应该备份临时表空间
17.4.1、Making User-Managed Backups of Onlin...
分类:
其他好文 时间:
2014-06-20 10:04:43
阅读次数:
289
点击打开链接题意:集合S支持一下四种操作: INSERT(S,x) :
假设S中没有x,则插入xDELETE(S,x): 假设S中有x,则删除xK-TH(S): 输出S中第K小的数COUNT(S,x):
统计S中小于x的数有多少个一共同拥有Q(1 ≤ Q ≤ 200000)次操作。Tr...
分类:
其他好文 时间:
2014-06-06 21:55:34
阅读次数:
277
注意题目这句话,Once you have each type of candies in a
box, you want to pack those boxes into larger boxes, until only one box
remains.两个box合并后必须放入更大一个盒子题目的有...
分类:
其他好文 时间:
2014-06-06 13:09:50
阅读次数:
213
It happened in the iron and instantaneous
stuffy car, will have top, hydraulic automatic row material, greatly reduces the
original spring cone crushe...
分类:
其他好文 时间:
2014-06-06 10:45:06
阅读次数:
310
public final intgetMeasuredHeight()Added inAPI
level 1LikegetMeasuredHeightAndState(), but only returns the raw width component
(that is the result is...
分类:
移动开发 时间:
2014-06-06 09:15:59
阅读次数:
494
Given a sorted linked list, delete all nodes
that have duplicate numbers, leaving onlydistinctnumbers from the original
list.For example,Given1->2->3-...
分类:
其他好文 时间:
2014-06-06 06:57:18
阅读次数:
271
Given a sorted array, remove the duplicates in
place such that each element appear only once and return the new length.Do not
allocate extra space for...
分类:
其他好文 时间:
2014-06-06 06:53:19
阅读次数:
347
在使用swftools转换pdf 到swf的时候报错,有如下说明:if the pdf
contains too many images / shapes, pdf2swf will fail with this error :ERROR
Thisfileistoocomplextorender-S...
分类:
其他好文 时间:
2014-06-05 21:24:54
阅读次数:
310
1.检查系统是否安装iSCSIinitiator[root@justin~]#rpm-qa|grepiscsi
[root@justin~]#
[root@justin~]#mount/dev/cdrom/mnt/
mount:blockdevice/dev/sr0iswrite-protected,mountingread-only
[root@justin~]#cd/mnt/
[root@justinPackages]#find.-name*iscsi*
./iscsi-initiator..
分类:
系统相关 时间:
2014-06-04 12:56:26
阅读次数:
731