1.异常:Cannot delete or update a parent row: a
foreign key constraint
fails 解决方案:将MySQL方言修改为org.hibernate.dialect.MySQLInnoDBDialect问题解决
分类:
其他好文 时间:
2014-05-26 10:29:56
阅读次数:
229
AJAX = 异步JavaScript和XML(Asynchronous JavaScript and
XML)jQuery load() 方法是简单但强大的AJAX方法load()
方法从服务器加载数据,并把返回的数据放入被选元素中语法:$(selector).load(URL,data,call...
分类:
Web程序 时间:
2014-05-26 07:59:44
阅读次数:
312
CI框架下
新浪微博登录接口说明:本贴只适合CI框架。不是CI框架,可以参考,自己做下修改调试下,应该也能出来。第一步:申请App key和App
secret申请地址:http://open.weibo.com/ 在页面点击网站接入WEB,进去申请就好了,通过后会得到App Key 和 A...
分类:
Web程序 时间:
2014-05-26 07:27:47
阅读次数:
415
#define USER_KEY @"users"#define GROUPNAME_KEY
@"groupName"@interfaceViewController (){ UITableView *_tableView; NSMutableArray
*_dataSource; BOOL ...
分类:
移动开发 时间:
2014-05-26 06:52:50
阅读次数:
316
在64位 Windows 7中水晶报表的错误:Crystal Report Error: Either
the Crystal Reports registy key permission are insufficient or the Crystal
Reports runtime is not ...
分类:
其他好文 时间:
2014-05-26 06:38:07
阅读次数:
219
CREATE TABLE #MoneyTable ( Id INT IDENTITY(1,
1) PRIMARY KEY , MoneyName VARCHAR(50) ...
分类:
移动开发 时间:
2014-05-26 06:25:35
阅读次数:
325
Quick Referenceinsmodmodprobermmod User-space
utilities that load modules into the running kernels and remove them.#include
module_init(init_function)...
分类:
其他好文 时间:
2014-05-24 12:05:39
阅读次数:
286
[csharp]view
plaincopy1、要使用Dictionary集合,需要导入C#泛型命名空间
System.Collections.Generic(程序集:mscorlib)2、描述
1)、从一组键(Key)到一组值(Value)的映射,每一个添加项都是由一个值及其相关连的键组成 ...
分类:
其他好文 时间:
2014-05-24 11:53:21
阅读次数:
297
sort(); 升序对数组排序; 1 1 $val ) { 6 6 echo "fruits[" .
$key . "] = " . $val . "\n" ; 7 7 } 8 8 9 9 ?>10 10 //输出结果11 11 12 12
fruits[0...
分类:
Web程序 时间:
2014-05-24 10:07:26
阅读次数:
292
要说这是个小问题,但是对于公司新进的一套系统,没想到虚拟目录配置的方式不同,结果也不一样。开发商那里,是在server.xml里面配置host方式,才配置虚拟目录。我用的是在conf/Catalina/localhost下建立一个xml文件,用于主目录或者虚拟目录,而不需要去修改server.xml...
分类:
其他好文 时间:
2014-05-24 09:21:24
阅读次数:
258