码迷,mamicode.com
首页 >  
搜索关键字:primitive value    ( 38200个结果
org.hibernate.PropertyAccessException: Null value was assigned to a property of primitive type sette
org.hibernate.PropertyAccessException: Null value was assigned to a property JavaBean修改:private Boolean sex;原因:数据库字段值为NULL,int 类型不能赋值为NULL,只能为0,但有些实际应...
分类:数据库   时间:2014-05-09 19:59:18    阅读次数:318
iOS之KVC
/** * KVC -- Key Value Coding (键值编码) * 1、KVC是一种间接访问对象实例变量的方式,使用该机制不需要调用存取方法和变量实例就可以访问对象的属性 * KVC 方法存在于NSKeyValueCoding中,默认实现方式由NSObject提供 * KVC ...
分类:移动开发   时间:2014-05-09 16:23:57    阅读次数:376
iOS之KVO
先创建一个person类并定义name和sex属性,当person的name或sex属性发生变化时会执行一个action/** * KVO --- Key Value Observe(键值观察者) * KVO 是一种设计模式,属于观察者设计模式 * 观察者设计模式涉及到...
分类:移动开发   时间:2014-05-09 16:15:37    阅读次数:424
POJ1742可行性背包
题目: Description People in Silverland use coins.They have coins of value A1,A2,A3...An Silverland dollar.One day Tony opened his money-box and found there were some coins.He decided to buy a very n...
分类:其他好文   时间:2014-05-09 15:00:55    阅读次数:345
Leetcode: Valid Parentheses
没考虑到的情况有:input: [, expected: false; 语法上也犯了错误: 我定义的stack的泛型为char,泛型不能为primitive datatype,Primitive types such ascharcannot be used as type parameters i...
分类:其他好文   时间:2014-05-09 09:19:01    阅读次数:252
vsftp 无法启动,500 OOPS: bad bool value in config file for: anonymous_enable
朋友的FTP启动不了,叫我帮他看,启动时出现以下错误信息:500 OOPS: bad bool value in config file for: anonymous_enable看似配置文件错误,看了一下配置相应的行:anonymous_enable=NO语句没什么错误,不过把这行注释后又到下一行...
分类:其他好文   时间:2014-05-09 08:51:30    阅读次数:287
Leetcode:Search a 2D Matrix
戳我去解题Write an efficient algorithm that searches for a value in anmxnmatrix. This matrix has the following properties:Integers in each row are sorted f...
分类:其他好文   时间:2014-05-09 08:27:24    阅读次数:241
python学习笔记-输入输出
格式化输出print(format(value,format_spec)),其中3为打印位数,2f为精度print(format(12.2356,‘3.2f‘)) print(format(0.23456,‘.1%‘)) D:\Python27\python.exeF:/Self-Study/python-study/input_output.py 12.24 23.5%
分类:编程语言   时间:2014-05-09 07:14:02    阅读次数:268
mysql:执行LOAD DATA LOCAL 报错
mysql:执行LOADDATALOCAL报错。我使用navicatformysql连接mysql服务器执行local可以正常执行。showVARIABLESlike‘%local%infile%‘结果如下:+---------------+-------+|Variable_name|Value|+---------------+-------+|local_infile|ON|+---------------+-------+1rowinset(0.0..
分类:数据库   时间:2014-05-09 07:06:20    阅读次数:372
NonUniqueObjectException 问题
org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [org.fzegplat.hiber...
分类:其他好文   时间:2014-05-08 23:32:26    阅读次数:503
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!