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
由于android应用安装在手机的rom或sdcard中,当没有sdcard的时候,会出现这种错误AndroidManifest.xml中配置此行是配置让Android系统自行决定应用的安装位置。
分类:
移动开发 时间:
2014-05-26 10:03:56
阅读次数:
260
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
24.Map接口:
Map接口定义了存储“键(key)-值(value)映射对”的方法,Map
中不能有重复的“键”,Map实现类中储存的”键-值“映射对是通过
键来唯一标识的,Map底层的”键“使用Set来存放的,所以Map
中的映射对的”键”对应的类必须重写hashCode()和equals()方法,
常用String作为Map的“键”。
Map的添加、删除操作...
分类:
编程语言 时间:
2014-05-26 05:47:05
阅读次数:
348
[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
sort 1 sort — 对数组排序
本函数对数组进行排序。当本函数结束时数组单元将被从最低到最高重新安排。 2 Example #1 sort() 例子 $val ){echo "fruits["
. $key . "]=" . $val . "\n" ;} ?>...
分类:
其他好文 时间:
2014-05-24 09:28:02
阅读次数:
216