- 博客(3)
- 资源 (6)
- 问答 (1)
- 收藏
- 关注
原创 DBUtils 批量插入 WHERE 附近有语法错误解决方案
现象,使用DBUtils 进行批量插入报错语句:run.fillStatementWithBean(ps, logStatistics,property);ps.addBatch();错误:Caused by:java.sql.SQLException:com.microsoft.sqlserver.jdbc.SQLServerException:关键字'where'
2012-08-07 15:28:11 1513
原创 windows 到 linux下 中文文件名转换 解决方案
在linux下使用convmv 更改文件名安装: yum -y install convmv命令:convmv -f 源编码 -t 新编码 --notest [选项] 文件名参考blog http://topic.csdn.net/u/20090830/11/481b4479-7eed-45b6-9f7d-e264cf44eb87.html
2012-08-03 17:50:40 440
原创 java.lang.ClassCastException: $Proxy cannot be cast to
今天遇到spring 中 getBean的时候,不能转化成接口的实例类型:spring 中的配置: 代码:UserDAOImpl userDAO = (UserDAOImpl)ctx.getBean("userDao");错误:java.lang.ClassCastException: $Proxy cannot be cast to com.te
2012-08-02 19:03:06 1622
TA创建的收藏夹 TA关注的收藏夹
TA关注的人