(1)使用Hibernate JPA实现需要添加hibernate
lib里面的包之外还要添加一个com.springsources.slf4j.api.jar,否则包错,unable to build entity
manager factory如果使用4.3.5 版本的hibernate,实体类...
分类:
系统相关 时间:
2014-05-30 05:58:52
阅读次数:
392
错误提示:E: Could not get lock /var/lib/dpkg/lock -
open (11: Resource temporarily unavailable) E: Unable to lock the administration
directory (/var/lib/d...
分类:
其他好文 时间:
2014-05-30 03:01:41
阅读次数:
234
Spring
AOP+EHCache简单缓存系统解决方案需要使用Spring来实现一个Cache简单的解决方案,具体需求如下:使用任意一个现有开源Cache
Framework,要求可以Cache系统中Service或则DAO层的get/find等方法返回结果,如果数据更新(使用Create/upd...
分类:
编程语言 时间:
2014-05-29 23:27:14
阅读次数:
467
When creating a Windows form in C#, we would
like to create a hyperlink so that when the user click on the link it would open
up a web browser and dis...
Hiding the C# application to the system tray is
quiet straight forward. With a few line of codes in C# and you can accomplish
this. First you will nee...
分类:
移动开发 时间:
2014-05-29 17:59:38
阅读次数:
311
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
jQuery EasyUI Tree Create from HTML markup Folder
Sub Folder 1 File 11 File 12 File 13 File 2 File 3 File 4 File 5 ...
分类:
Web程序 时间:
2014-05-29 17:48:25
阅读次数:
473
1 #include 2 #include 3 #include "chain.c"
//include the chain.c to create chain and list 4 #define NUMBER_SCOPE 69000 5
#define ARRAY_SIZE 10...
分类:
其他好文 时间:
2014-05-29 17:01:46
阅读次数:
297
一开始始终找不到网上说得create_project.py,所以网上通过这个的方法行不通。所以就找了点关于3.0的资料,貌似在3.0正式版里是通过**/cocos2d-x-3.0/tools/cocos2d-console/bin/cocos.py来创建工程的。不过3.0正式版要先搞定环境变量。。1...
分类:
其他好文 时间:
2014-05-29 15:35:18
阅读次数:
338
Partitioner.Create(1,10,4).GetDynamicPartitions()为长度为10的序列创建分区,每个分区至多4个元素,分区方法及结果:Partitioner.Create(0,
10, 4).GetDynamicPartitions()得到3个前闭后开区间:[0, 4)...
分类:
其他好文 时间:
2014-05-29 14:28:18
阅读次数:
247