- 博客(4)
- 收藏
- 关注
HibernateObjectRetrievalFailureException
[size=medium]org.springframework.orm.hibernate3.HibernateObjectRetrievalFailureException: No row with the given identifier exists: [com.shenzhoutelecom.dao.bop.customer.model.TCustomer#0]; nested exce...
2010-04-09 16:48:44
404
DWRUtil is not defined
[size=medium]此代码 DWRUtil.setValue("username", "you can use this username");总出现DWRUtil is not defined;解决方法:先检查页面中是否正确引入uitl.js我这里src用的是绝对路径,个人认为这样比较好;如果正确引入了util.js文件,那么很可能是util.js文件注释了DW...
2010-04-08 16:24:07
210
firefox中focus问题解决
document.getElementById("username").focus();此js在IE中可用,但在firefox中失效;[color=red]解决方法:[/color] 加定时器 [size=medium]window.setTimeout(function(){document.getElementById("username").focus();}, 0);[/...
2010-04-08 10:50:04
247
Cannot convert value '0000-00-00 00:00:00' from column 19 to TIMESTAMP. 的解决方法
MySQL数据库,如果数据库中Date字段空值为'0000-00-00 00:00:00"时,Hibernate的生成类时就会报错,解决方案为在数据库连接后面加上[color=red]zeroDateTimeBehavior=convertToNull[/color] ,解决了我的URL格式如下:url=jdbc:mysql://192.168.0.101:3306/dpcs?use...
2010-03-26 11:29:28
221
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人